home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 22 / AMUG_22-1.ISO / Files / Internet / Web Things / NetCacheBack 0.9d6.sit / NetCacheBack 0.9d6 ƒ / NetCacheBack source < prev    next >
MacBinary  |  1996-05-12  |  12.5 KB  |  [TEXT/ToyS]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun May 12 12:12:12 1996, modified Sun May 12 12:12:12 1996, creator 'ToyS', type ASCII, 11818 bytes "NetCacheBack source" , at 0x2eaa 755 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ToyS]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 4e 65 74 43 61 63 | 68 65 42 61 63 6b 20 73 |..NetCac|heBack s|
|00000010| 6f 75 72 63 65 00 00 00 | 00 00 00 00 00 00 00 00 |ource...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 54 6f 79 | 53 01 00 00 00 00 00 00 |.TEXTToy|S.......|
|00000050| 00 00 00 00 00 2e 2a 00 | 00 02 f3 ad bb be 5c ad |......*.|......\.|
|00000060| bb be 5c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..\.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 2d 4e 00 00 |........|....-N..|
|00000080| 2d 2d 20 4e 65 74 73 63 | 61 70 65 aa 20 43 61 63 |-- Netsc|ape. Cac|
|00000090| 68 65 20 42 61 63 6b 20 | 30 2e 39 64 36 0d 2d 2d |he Back |0.9d6.--|
|000000a0| 20 43 6f 70 79 72 69 67 | 68 74 20 a9 20 31 39 39 | Copyrig|ht . 199|
|000000b0| 35 2d 39 36 20 4d 69 7a | 75 74 6f 72 69 20 54 65 |5-96 Miz|utori Te|
|000000c0| 74 73 75 79 61 2c 20 4d | 61 79 20 31 32 2c 20 31 |tsuya, M|ay 12, 1|
|000000d0| 39 39 36 0d 0d 2d 2d 20 | 67 6c 6f 62 61 6c 20 63 |996..-- |global c|
|000000e0| 6f 6e 73 74 61 6e 74 73 | 0d 73 65 74 20 67 43 75 |onstants|.set gCu|
|000000f0| 72 72 65 6e 74 46 6f 6c | 64 65 72 20 74 6f 20 22 |rrentFol|der to "|
|00000100| 22 20 61 73 20 73 74 72 | 69 6e 67 0d 73 65 74 20 |" as str|ing.set |
|00000110| 67 43 61 63 68 65 52 65 | 63 6f 72 64 4c 69 73 74 |gCacheRe|cordList|
|00000120| 20 74 6f 20 7b 7d 20 61 | 73 20 6c 69 73 74 0d 2d | to {} a|s list.-|
|00000130| 2d 20 67 6c 6f 62 61 6c | 20 63 6f 6e 73 74 61 6e |- global| constan|
|00000140| 74 73 20 66 6f 72 20 4e | 65 74 43 61 63 68 65 42 |ts for N|etCacheB|
|00000150| 61 63 6b 20 30 2e 39 64 | 36 0d 73 65 74 20 67 54 |ack 0.9d|6.set gT|
|00000160| 72 61 63 65 4c 6f 67 20 | 74 6f 20 74 72 75 65 20 |raceLog |to true |
|00000170| 61 73 20 62 6f 6f 6c 65 | 61 6e 0d 73 65 74 20 67 |as boole|an.set g|
|00000180| 56 65 72 62 6f 73 65 20 | 74 6f 20 74 72 75 65 20 |Verbose |to true |
|00000190| 61 73 20 62 6f 6f 6c 65 | 61 6e 0d 73 65 74 20 67 |as boole|an.set g|
|000001a0| 4f 76 65 72 72 69 64 65 | 20 74 6f 20 66 61 6c 73 |Override| to fals|
|000001b0| 65 20 61 73 20 62 6f 6f | 6c 65 61 6e 0d 73 65 74 |e as boo|lean.set|
|000001c0| 20 67 46 6f 72 6d 4c 69 | 73 74 20 74 6f 20 7b 7d | gFormLi|st to {}|
|000001d0| 20 61 73 20 6c 69 73 74 | 0d 73 65 74 20 67 54 72 | as list|.set gTr|
|000001e0| 61 63 69 6e 67 4e 6f 77 | 20 74 6f 20 30 20 61 73 |acingNow| to 0 as|
|000001f0| 20 6e 75 6d 62 65 72 0d | 73 65 74 20 67 54 72 61 | number.|set gTra|
|00000200| 63 65 4c 6f 67 46 69 6c | 65 20 74 6f 20 22 4e 65 |ceLogFil|e to "Ne|
|00000210| 74 43 61 63 68 65 42 61 | 63 6b 20 6c 6f 67 22 0d |tCacheBa|ck log".|
|00000220| 0d 74 65 6c 6c 20 6d 65 | 20 74 6f 20 6f 70 65 6e |.tell me| to open|
|00000230| 20 7b 7d 0d 0d 2d 2d 0d | 6f 6e 20 6f 70 65 6e 20 | {}..--.|on open |
|00000240| 28 64 6f 63 4c 69 73 74 | 29 0d 09 6c 6f 63 61 6c |(docList|)..local|
|00000250| 20 63 75 72 72 49 74 65 | 6d 0d 09 2d 2d 0d 09 69 | currIte|m..--..i|
|00000260| 66 20 64 6f 63 4c 69 73 | 74 20 69 73 20 7b 7d 20 |f docLis|t is {} |
|00000270| 74 68 65 6e 20 73 65 74 | 20 64 6f 63 4c 69 73 74 |then set| docList|
|00000280| 20 74 6f 20 7b 28 63 68 | 6f 6f 73 65 20 66 69 6c | to {(ch|oose fil|
|00000290| 65 29 7d 0d 09 2d 2d 0d | 09 2d 2d 4e 65 74 43 61 |e)}..--.|.--NetCa|
|000002a0| 63 68 65 42 61 63 6b 20 | 30 2e 39 64 36 0d 09 74 |cheBack |0.9d6..t|
|000002b0| 65 6c 6c 20 6d 65 20 74 | 6f 20 69 6e 69 74 47 6c |ell me t|o initGl|
|000002c0| 6f 62 61 6c 73 28 29 0d | 09 74 65 6c 6c 20 6d 65 |obals().|.tell me|
|000002d0| 20 74 6f 20 67 65 74 50 | 72 65 66 65 72 65 6e 63 | to getP|referenc|
|000002e0| 65 73 28 29 0d 09 2d 2d | 0d 09 74 65 6c 6c 20 6d |es()..--|..tell m|
|000002f0| 65 20 74 6f 20 73 65 74 | 75 70 43 6f 6e 73 74 61 |e to set|upConsta|
|00000300| 6e 74 73 20 62 79 20 74 | 68 65 20 66 69 72 73 74 |nts by t|he first|
|00000310| 20 69 74 65 6d 20 6f 66 | 20 64 6f 63 4c 69 73 74 | item of| docList|
|00000320| 0d 09 2d 2d 0d 09 72 65 | 70 65 61 74 20 77 69 74 |..--..re|peat wit|
|00000330| 68 20 63 75 72 72 49 74 | 65 6d 20 69 6e 20 64 6f |h currIt|em in do|
|00000340| 63 4c 69 73 74 0d 09 09 | 74 65 6c 6c 20 6d 65 20 |cList...|tell me |
|00000350| 74 6f 20 6d 6f 76 65 43 | 61 63 68 65 46 69 6c 65 |to moveC|acheFile|
|00000360| 20 61 67 61 69 6e 73 74 | 20 63 75 72 72 49 74 65 | against| currIte|
|00000370| 6d 0d 09 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |m..end r|epeat.en|
|00000380| 64 20 6f 70 65 6e 0d 0d | 0d 2d 2d 4e 65 74 43 61 |d open..|.--NetCa|
|00000390| 63 68 65 42 61 63 6b 20 | 30 2e 39 64 36 0d 74 6f |cheBack |0.9d6.to|
|000003a0| 20 69 6e 69 74 47 6c 6f | 62 61 6c 73 28 29 0d 09 | initGlo|bals()..|
|000003b0| 67 6c 6f 62 61 6c 20 67 | 43 75 72 72 65 6e 74 46 |global g|CurrentF|
|000003c0| 6f 6c 64 65 72 2c 20 67 | 43 61 63 68 65 52 65 63 |older, g|CacheRec|
|000003d0| 6f 72 64 4c 69 73 74 0d | 09 67 6c 6f 62 61 6c 20 |ordList.|.global |
|000003e0| 67 54 72 61 63 65 4c 6f | 67 2c 20 67 56 65 72 62 |gTraceLo|g, gVerb|
|000003f0| 6f 73 65 2c 20 67 4f 76 | 65 72 72 69 64 65 0d 09 |ose, gOv|erride..|
|00000400| 67 6c 6f 62 61 6c 20 67 | 46 6f 72 6d 4c 69 73 74 |global g|FormList|
|00000410| 0d 09 67 6c 6f 62 61 6c | 20 67 54 72 61 63 69 6e |..global| gTracin|
|00000420| 67 4e 6f 77 2c 20 67 54 | 72 61 63 65 4c 6f 67 46 |gNow, gT|raceLogF|
|00000430| 69 6c 65 0d 09 2d 2d 0d | 09 73 65 74 20 67 43 75 |ile..--.|.set gCu|
|00000440| 72 72 65 6e 74 46 6f 6c | 64 65 72 20 74 6f 20 22 |rrentFol|der to "|
|00000450| 22 0d 09 73 65 74 20 67 | 43 61 63 68 65 52 65 63 |"..set g|CacheRec|
|00000460| 6f 72 64 4c 69 73 74 20 | 74 6f 20 7b 7d 0d 09 2d |ordList |to {}..-|
|00000470| 2d 0d 09 73 65 74 20 67 | 54 72 61 63 65 4c 6f 67 |-..set g|TraceLog|
|00000480| 20 74 6f 20 74 72 75 65 | 0d 09 73 65 74 20 67 56 | to true|..set gV|
|00000490| 65 72 62 6f 73 65 20 74 | 6f 20 74 72 75 65 0d 09 |erbose t|o true..|
|000004a0| 73 65 74 20 67 4f 76 65 | 72 72 69 64 65 20 74 6f |set gOve|rride to|
|000004b0| 20 66 61 6c 73 65 0d 09 | 73 65 74 20 67 46 6f 72 | false..|set gFor|
|000004c0| 6d 4c 69 73 74 20 74 6f | 20 7b 7d 0d 09 73 65 74 |mList to| {}..set|
|000004d0| 20 67 54 72 61 63 69 6e | 67 4e 6f 77 20 74 6f 20 | gTracin|gNow to |
|000004e0| 30 0d 09 73 65 74 20 67 | 54 72 61 63 65 4c 6f 67 |0..set g|TraceLog|
|000004f0| 46 69 6c 65 20 74 6f 20 | 22 4e 65 74 43 61 63 68 |File to |"NetCach|
|00000500| 65 42 61 63 6b 20 6c 6f | 67 22 0d 09 2d 2d 0d 65 |eBack lo|g"..--.e|
|00000510| 6e 64 20 69 6e 69 74 47 | 6c 6f 62 61 6c 73 0d 0d |nd initG|lobals..|
|00000520| 0d 74 6f 20 73 65 74 75 | 70 43 6f 6e 73 74 61 6e |.to setu|pConstan|
|00000530| 74 73 20 62 79 20 63 75 | 72 72 65 6e 74 46 69 6c |ts by cu|rrentFil|
|00000540| 65 0d 09 67 6c 6f 62 61 | 6c 20 67 43 75 72 72 65 |e..globa|l gCurre|
|00000550| 6e 74 46 6f 6c 64 65 72 | 2c 20 67 43 61 63 68 65 |ntFolder|, gCache|
|00000560| 52 65 63 6f 72 64 4c 69 | 73 74 2c 20 67 54 72 61 |RecordLi|st, gTra|
|00000570| 63 65 4c 6f 67 46 69 6c | 65 0d 09 6c 6f 63 61 6c |ceLogFil|e..local|
|00000580| 20 72 65 66 46 69 6c 65 | 2c 20 63 61 63 68 65 52 | refFile|, cacheR|
|00000590| 65 63 6f 72 64 4c 69 73 | 74 2c 20 63 61 63 68 65 |ecordLis|t, cache|
|000005a0| 6c 6f 67 2c 20 63 63 61 | 63 68 65 4c 6f 67 2c 20 |log, cca|cheLog, |
|000005b0| 76 69 65 77 42 79 0d 09 | 2d 2d 0d 09 74 65 6c 6c |viewBy..|--..tell|
|000005c0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 22 46 69 | applica|tion "Fi|
|000005d0| 6e 64 65 72 22 20 74 6f | 20 67 65 74 20 74 68 65 |nder" to| get the|
|000005e0| 20 63 6f 6e 74 61 69 6e | 65 72 20 6f 66 20 63 75 | contain|er of cu|
|000005f0| 72 72 65 6e 74 46 69 6c | 65 0d 09 63 6f 70 79 20 |rrentFil|e..copy |
|00000600| 74 68 65 20 72 65 73 75 | 6c 74 20 74 6f 20 67 43 |the resu|lt to gC|
|00000610| 75 72 72 65 6e 74 46 6f | 6c 64 65 72 0d 09 2d 2d |urrentFo|lder..--|
|00000620| 0d 09 2d 2d 4e 65 74 43 | 61 63 68 65 42 61 63 6b |..--NetC|acheBack|
|00000630| 20 30 2e 39 64 36 0d 09 | 63 6f 70 79 20 28 28 67 | 0.9d6..|copy ((g|
|00000640| 43 75 72 72 65 6e 74 46 | 6f 6c 64 65 72 20 61 73 |CurrentF|older as|
|00000650| 20 73 74 72 69 6e 67 29 | 20 26 20 67 54 72 61 63 | string)| & gTrac|
|00000660| 65 4c 6f 67 46 69 6c 65 | 29 20 74 6f 20 67 54 72 |eLogFile|) to gTr|
|00000670| 61 63 65 4c 6f 67 46 69 | 6c 65 0d 09 2d 2d 0d 09 |aceLogFi|le..--..|
|00000680| 63 6f 70 79 20 28 28 67 | 43 75 72 72 65 6e 74 46 |copy ((g|CurrentF|
|00000690| 6f 6c 64 65 72 20 61 73 | 20 73 74 72 69 6e 67 29 |older as| string)|
|000006a0| 20 26 20 22 43 61 63 68 | 65 20 6c 6f 67 22 29 20 | & "Cach|e log") |
|000006b0| 74 6f 20 63 61 63 68 65 | 6c 6f 67 0d 09 63 6f 70 |to cache|log..cop|
|000006c0| 79 20 28 28 67 43 75 72 | 72 65 6e 74 46 6f 6c 64 |y ((gCur|rentFold|
|000006d0| 65 72 20 61 73 20 73 74 | 72 69 6e 67 29 20 26 20 |er as st|ring) & |
|000006e0| 22 43 43 61 63 68 65 20 | 6c 6f 67 22 29 20 74 6f |"CCache |log") to|
|000006f0| 20 63 63 61 63 68 65 4c | 6f 67 0d 09 2d 2d 0d 09 | ccacheL|og..--..|
|00000700| 74 65 6c 6c 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |tell app|lication|
|00000710| 20 22 46 69 6e 64 65 72 | 22 0d 09 09 6f 70 65 6e | "Finder|"...open|
|00000720| 20 74 68 65 20 67 43 75 | 72 72 65 6e 74 46 6f 6c | the gCu|rrentFol|
|00000730| 64 65 72 0d 09 09 73 65 | 74 20 76 69 65 77 42 79 |der...se|t viewBy|
|00000740| 20 74 6f 20 74 68 65 20 | 76 69 65 77 20 6f 66 20 | to the |view of |
|00000750| 74 68 65 20 67 43 75 72 | 72 65 6e 74 46 6f 6c 64 |the gCur|rentFold|
|00000760| 65 72 0d 09 09 69 66 20 | 65 78 69 73 74 73 20 74 |er...if |exists t|
|00000770| 68 65 20 28 61 6c 69 61 | 73 20 63 61 63 68 65 6c |he (alia|s cachel|
|00000780| 6f 67 29 20 74 68 65 6e | 0d 09 09 09 69 66 20 65 |og) then|....if e|
|00000790| 78 69 73 74 73 20 74 68 | 65 20 28 61 6c 69 61 73 |xists th|e (alias|
|000007a0| 20 63 63 61 63 68 65 4c | 6f 67 29 20 74 68 65 6e | ccacheL|og) then|
|000007b0| 0d 09 09 09 09 69 66 20 | 74 68 65 20 6d 6f 64 69 |.....if |the modi|
|000007c0| 66 69 63 61 74 69 6f 6e | 20 64 61 74 65 20 6f 66 |fication| date of|
|000007d0| 20 74 68 65 20 28 61 6c | 69 61 73 20 63 63 61 63 | the (al|ias ccac|
|000007e0| 68 65 4c 6f 67 29 20 63 | 6f 6d 65 73 20 61 66 74 |heLog) c|omes aft|
|000007f0| 65 72 20 c2 0d 09 09 09 | 09 09 74 68 65 20 6d 6f |er .....|..the mo|
|00000800| 64 69 66 69 63 61 74 69 | 6f 6e 20 64 61 74 65 20 |dificati|on date |
|00000810| 6f 66 20 74 68 65 20 28 | 61 6c 69 61 73 20 63 61 |of the (|alias ca|
|00000820| 63 68 65 6c 6f 67 29 20 | 74 68 65 6e 0d 09 09 09 |chelog) |then....|
|00000830| 09 09 74 65 6c 6c 20 61 | 70 70 6c 69 63 61 74 69 |..tell a|pplicati|
|00000840| 6f 6e 20 22 4e 65 74 43 | 61 63 68 65 52 65 73 6f |on "NetC|acheReso|
|00000850| 6c 76 65 72 22 0d 09 09 | 09 09 09 09 6f 70 65 6e |lver"...|....open|
|00000860| 20 7b 28 61 6c 69 61 73 | 20 63 63 61 63 68 65 4c | {(alias| ccacheL|
|00000870| 6f 67 29 7d 0d 09 09 09 | 09 09 09 71 75 69 74 0d |og)}....|...quit.|
|00000880| 09 09 09 09 09 65 6e 64 | 20 74 65 6c 6c 0d 09 09 |.....end| tell...|
|00000890| 09 09 65 6e 64 20 69 66 | 0d 09 09 09 65 6e 64 20 |..end if|....end |
|000008a0| 69 66 0d 09 09 09 74 72 | 79 0d 09 09 09 09 73 65 |if....tr|y.....se|
|000008b0| 74 20 72 65 66 46 69 6c | 65 20 74 6f 20 6f 70 65 |t refFil|e to ope|
|000008c0| 6e 20 66 6f 72 20 61 63 | 63 65 73 73 20 28 61 6c |n for ac|cess (al|
|000008d0| 69 61 73 20 63 61 63 68 | 65 6c 6f 67 29 0d 09 09 |ias cach|elog)...|
|000008e0| 09 09 73 65 74 20 63 61 | 63 68 65 52 65 63 6f 72 |..set ca|cheRecor|
|000008f0| 64 4c 69 73 74 20 74 6f | 20 72 65 61 64 20 72 65 |dList to| read re|
|00000900| 66 46 69 6c 65 20 61 73 | 20 6c 69 73 74 20 75 73 |fFile as| list us|
|00000910| 69 6e 67 20 64 65 6c 69 | 6d 69 74 65 72 73 20 72 |ing deli|miters r|
|00000920| 65 74 75 72 6e 0d 09 09 | 09 09 63 6c 6f 73 65 20 |eturn...|..close |
|00000930| 61 63 63 65 73 73 20 72 | 65 66 46 69 6c 65 0d 09 |access r|efFile..|
|00000940| 09 09 09 2d 2d 0d 09 09 | 09 09 74 65 6c 6c 20 61 |...--...|..tell a|
|00000950| 70 70 6c 69 63 61 74 69 | 6f 6e 20 22 4e 65 74 43 |pplicati|on "NetC|
|00000960| 61 63 68 65 52 65 73 6f | 6c 76 65 72 22 0d 09 09 |acheReso|lver"...|
|00000970| 09 09 09 69 66 20 74 68 | 65 20 76 69 65 77 42 79 |...if th|e viewBy|
|00000980| 20 69 73 20 62 79 44 61 | 74 65 20 74 68 65 6e 0d | is byDa|te then.|
|00000990| 09 09 09 09 09 09 73 6f | 72 74 20 63 61 63 68 65 |......so|rt cache|
|000009a0| 52 65 63 6f 72 64 4c 69 | 73 74 20 62 79 20 64 61 |RecordLi|st by da|
|000009b0| 74 65 0d 09 09 09 09 09 | 65 6c 73 65 20 69 66 20 |te......|else if |
|000009c0| 74 68 65 20 76 69 65 77 | 42 79 20 69 73 20 62 79 |the view|By is by|
|000009d0| 53 69 7a 65 20 74 68 65 | 6e 0d 09 09 09 09 09 09 |Size the|n.......|
|000009e0| 73 6f 72 74 20 63 61 63 | 68 65 52 65 63 6f 72 64 |sort cac|heRecord|
|000009f0| 4c 69 73 74 20 62 79 20 | 73 69 7a 65 0d 09 09 09 |List by |size....|
|00000a00| 09 09 65 6c 73 65 0d 09 | 09 09 09 09 09 73 6f 72 |..else..|.....sor|
|00000a10| 74 20 63 61 63 68 65 52 | 65 63 6f 72 64 4c 69 73 |t cacheR|ecordLis|
|00000a20| 74 20 62 79 20 6e 61 6d | 65 0d 09 09 09 09 09 65 |t by nam|e......e|
|00000a30| 6e 64 20 69 66 0d 09 09 | 09 09 09 63 6f 70 79 20 |nd if...|...copy |
|00000a40| 74 68 65 20 72 65 73 75 | 6c 74 20 74 6f 20 67 43 |the resu|lt to gC|
|00000a50| 61 63 68 65 52 65 63 6f | 72 64 4c 69 73 74 0d 09 |acheReco|rdList..|
|00000a60| 09 09 09 09 71 75 69 74 | 0d 09 09 09 09 65 6e 64 |....quit|.....end|
|00000a70| 20 74 65 6c 6c 0d 09 09 | 09 6f 6e 20 65 72 72 6f | tell...|.on erro|
|00000a80| 72 0d 09 09 09 09 74 65 | 6c 6c 20 6d 65 20 74 6f |r.....te|ll me to|
|00000a90| 20 65 72 72 6f 72 4d 65 | 73 73 61 67 65 20 66 6f | errorMe|ssage fo|
|00000aa0| 72 20 22 43 61 6e d5 74 | 20 72 65 61 64 20 d2 43 |r "Can.t| read .C|
|00000ab0| 61 63 68 65 20 6c 6f 67 | d3 20 66 69 6c 65 22 0d |ache log|. file".|
|00000ac0| 09 09 09 65 6e 64 20 74 | 72 79 0d 09 09 65 6c 73 |...end t|ry...els|
|00000ad0| 65 20 69 66 20 65 78 69 | 73 74 73 20 74 68 65 20 |e if exi|sts the |
|00000ae0| 28 61 6c 69 61 73 20 63 | 63 61 63 68 65 4c 6f 67 |(alias c|cacheLog|
|00000af0| 29 20 74 68 65 6e 0d 09 | 09 09 74 65 6c 6c 20 61 |) then..|..tell a|
|00000b00| 70 70 6c 69 63 61 74 69 | 6f 6e 20 22 4e 65 74 43 |pplicati|on "NetC|
|00000b10| 61 63 68 65 52 65 73 6f | 6c 76 65 72 22 0d 09 09 |acheReso|lver"...|
|00000b20| 09 09 69 66 20 74 68 65 | 20 76 69 65 77 42 79 20 |..if the| viewBy |
|00000b30| 69 73 20 62 79 44 61 74 | 65 20 74 68 65 6e 0d 09 |is byDat|e then..|
|00000b40| 09 09 09 09 72 65 73 6f | 6c 76 65 20 7b 28 61 6c |....reso|lve {(al|
|00000b50| 69 61 73 20 63 63 61 63 | 68 65 4c 6f 67 29 7d 20 |ias ccac|heLog)} |
|00000b60| 77 69 74 68 20 73 6f 72 | 74 65 64 20 62 79 20 64 |with sor|ted by d|
|00000b70| 61 74 65 0d 09 09 09 09 | 65 6c 73 65 20 69 66 20 |ate.....|else if |
|00000b80| 74 68 65 20 76 69 65 77 | 42 79 20 69 73 20 62 79 |the view|By is by|
|00000b90| 53 69 7a 65 20 74 68 65 | 6e 0d 09 09 09 09 09 72 |Size the|n......r|
|00000ba0| 65 73 6f 6c 76 65 20 7b | 28 61 6c 69 61 73 20 63 |esolve {|(alias c|
|00000bb0| 63 61 63 68 65 4c 6f 67 | 29 7d 20 77 69 74 68 20 |cacheLog|)} with |
|00000bc0| 73 6f 72 74 65 64 20 62 | 79 20 73 69 7a 65 0d 09 |sorted b|y size..|
|00000bd0| 09 09 09 65 6c 73 65 0d | 09 09 09 09 09 72 65 73 |...else.|.....res|
|00000be0| 6f 6c 76 65 20 7b 28 61 | 6c 69 61 73 20 63 63 61 |olve {(a|lias cca|
|00000bf0| 63 68 65 4c 6f 67 29 7d | 20 77 69 74 68 20 73 6f |cheLog)}| with so|
|00000c00| 72 74 65 64 20 62 79 20 | 6e 61 6d 65 0d 09 09 09 |rted by |name....|
|00000c10| 09 65 6e 64 20 69 66 0d | 09 09 09 09 63 6f 70 79 |.end if.|....copy|
|00000c20| 20 74 68 65 20 72 65 73 | 75 6c 74 20 74 6f 20 67 | the res|ult to g|
|00000c30| 43 61 63 68 65 52 65 63 | 6f 72 64 4c 69 73 74 0d |CacheRec|ordList.|
|00000c40| 09 09 09 09 71 75 69 74 | 0d 09 09 09 65 6e 64 20 |....quit|....end |
|00000c50| 74 65 6c 6c 0d 09 09 65 | 6c 73 65 0d 09 09 09 74 |tell...e|lse....t|
|00000c60| 65 6c 6c 20 6d 65 20 74 | 6f 20 65 72 72 6f 72 4d |ell me t|o errorM|
|00000c70| 65 73 73 61 67 65 20 66 | 6f 72 20 22 43 61 6e d5 |essage f|or "Can.|
|00000c80| 74 20 66 69 6e 64 20 d2 | 43 61 63 68 65 20 6c 6f |t find .|Cache lo|
|00000c90| 67 d3 20 6f 72 20 d2 43 | 43 61 63 68 65 20 6c 6f |g. or .C|Cache lo|
|00000ca0| 67 d3 20 66 69 6c 65 22 | 0d 09 09 65 6e 64 20 69 |g. file"|...end i|
|00000cb0| 66 0d 09 65 6e 64 20 74 | 65 6c 6c 0d 65 6e 64 20 |f..end t|ell.end |
|00000cc0| 73 65 74 75 70 43 6f 6e | 73 74 61 6e 74 73 0d 0d |setupCon|stants..|
|00000cd0| 0d 74 6f 20 6d 6f 76 65 | 43 61 63 68 65 46 69 6c |.to move|CacheFil|
|00000ce0| 65 20 61 67 61 69 6e 73 | 74 20 63 61 63 68 65 46 |e agains|t cacheF|
|00000cf0| 69 6c 65 0d 09 67 6c 6f | 62 61 6c 20 67 43 75 72 |ile..glo|bal gCur|
|00000d00| 72 65 6e 74 46 6f 6c 64 | 65 72 2c 20 67 43 61 63 |rentFold|er, gCac|
|00000d10| 68 65 52 65 63 6f 72 64 | 4c 69 73 74 0d 09 6c 6f |heRecord|List..lo|
|00000d20| 63 61 6c 20 72 65 66 46 | 69 6c 65 0d 09 6c 6f 63 |cal refF|ile..loc|
|00000d30| 61 6c 20 63 61 63 68 65 | 52 65 63 6f 72 64 2c 20 |al cache|Record, |
|00000d40| 63 61 63 68 65 66 6f 6c | 64 65 72 2c 20 63 61 63 |cachefol|der, cac|
|00000d50| 68 65 4e 61 6d 65 0d 09 | 6c 6f 63 61 6c 20 75 72 |heName..|local ur|
|00000d60| 6c 2c 20 75 72 6c 46 6f | 6c 64 65 72 2c 20 75 72 |l, urlFo|lder, ur|
|00000d70| 6c 4e 61 6d 65 0d 09 6c | 6f 63 61 6c 20 6e 0d 09 |lName..l|ocal n..|
|00000d80| 2d 2d 0d 09 74 65 6c 6c | 20 61 70 70 6c 69 63 61 |--..tell| applica|
|00000d90| 74 69 6f 6e 20 22 46 69 | 6e 64 65 72 22 0d 09 09 |tion "Fi|nder"...|
|00000da0| 63 6f 70 79 20 74 68 65 | 20 63 6f 6e 74 61 69 6e |copy the| contain|
|00000db0| 65 72 20 6f 66 20 63 61 | 63 68 65 46 69 6c 65 20 |er of ca|cheFile |
|00000dc0| 74 6f 20 63 61 63 68 65 | 66 6f 6c 64 65 72 0d 09 |to cache|folder..|
|00000dd0| 09 63 6f 70 79 20 74 68 | 65 20 6e 61 6d 65 20 6f |.copy th|e name o|
|00000de0| 66 20 63 61 63 68 65 46 | 69 6c 65 20 74 6f 20 63 |f cacheF|ile to c|
|00000df0| 61 63 68 65 4e 61 6d 65 | 0d 09 65 6e 64 20 74 65 |acheName|..end te|
|00000e00| 6c 6c 0d 09 2d 2d 0d 09 | 73 65 74 20 6e 20 74 6f |ll..--..|set n to|
|00000e10| 20 31 0d 09 72 65 70 65 | 61 74 20 77 69 74 68 20 | 1..repe|at with |
|00000e20| 63 61 63 68 65 52 65 63 | 6f 72 64 20 69 6e 20 67 |cacheRec|ord in g|
|00000e30| 43 61 63 68 65 52 65 63 | 6f 72 64 4c 69 73 74 0d |CacheRec|ordList.|
|00000e40| 09 09 69 66 20 63 61 63 | 68 65 4e 61 6d 65 20 69 |..if cac|heName i|
|00000e50| 73 20 69 6e 20 74 68 65 | 20 63 61 63 68 65 52 65 |s in the| cacheRe|
|00000e60| 63 6f 72 64 20 74 68 65 | 6e 0d 09 09 09 74 65 6c |cord the|n....tel|
|00000e70| 6c 20 6d 65 20 74 6f 20 | 72 65 6e 61 6d 65 43 61 |l me to |renameCa|
|00000e80| 63 68 65 46 69 6c 65 28 | 63 61 63 68 65 66 6f 6c |cheFile(|cachefol|
|00000e90| 64 65 72 2c 20 63 61 63 | 68 65 4e 61 6d 65 2c 20 |der, cac|heName, |
|00000ea0| 63 61 63 68 65 52 65 63 | 6f 72 64 29 0d 09 09 09 |cacheRec|ord)....|
|00000eb0| 73 65 74 20 74 68 65 20 | 69 74 65 6d 20 6e 20 6f |set the |item n o|
|00000ec0| 66 20 67 43 61 63 68 65 | 52 65 63 6f 72 64 4c 69 |f gCache|RecordLi|
|00000ed0| 73 74 20 74 6f 20 22 22 | 0d 09 09 09 65 78 69 74 |st to ""|....exit|
|00000ee0| 20 72 65 70 65 61 74 0d | 09 09 65 6e 64 20 69 66 | repeat.|..end if|
|00000ef0| 0d 09 09 73 65 74 20 6e | 20 74 6f 20 6e 20 2b 20 |...set n| to n + |
|00000f00| 31 0d 09 65 6e 64 20 72 | 65 70 65 61 74 0d 09 2d |1..end r|epeat..-|
|00000f10| 2d 0d 65 6e 64 20 6d 6f | 76 65 43 61 63 68 65 46 |-.end mo|veCacheF|
|00000f20| 69 6c 65 0d 0d 0d 74 6f | 20 72 65 6e 61 6d 65 43 |ile...to| renameC|
|00000f30| 61 63 68 65 46 69 6c 65 | 28 63 61 63 68 65 66 6f |acheFile|(cachefo|
|00000f40| 6c 64 65 72 2c 20 63 61 | 63 68 65 4e 61 6d 65 2c |lder, ca|cheName,|
|00000f50| 20 63 61 63 68 65 52 65 | 63 6f 72 64 29 0d 09 67 | cacheRe|cord)..g|
|00000f60| 6c 6f 62 61 6c 20 67 43 | 75 72 72 65 6e 74 46 6f |lobal gC|urrentFo|
|00000f70| 6c 64 65 72 2c 20 67 43 | 61 63 68 65 52 65 63 6f |lder, gC|acheReco|
|00000f80| 72 64 4c 69 73 74 0d 09 | 67 6c 6f 62 61 6c 20 67 |rdList..|global g|
|00000f90| 54 72 61 63 65 4c 6f 67 | 2c 20 67 56 65 72 62 6f |TraceLog|, gVerbo|
|00000fa0| 73 65 2c 20 67 4f 76 65 | 72 72 69 64 65 0d 09 6c |se, gOve|rride..l|
|00000fb0| 6f 63 61 6c 20 6f 6c 64 | 44 65 6c 69 6d 69 74 65 |ocal old|Delimite|
|00000fc0| 72 73 2c 20 63 61 63 68 | 65 49 74 65 6d 73 2c 20 |rs, cach|eItems, |
|00000fd0| 63 61 63 68 65 46 69 6c | 65 50 61 74 68 0d 09 6c |cacheFil|ePath..l|
|00000fe0| 6f 63 61 6c 20 75 72 6c | 2c 20 75 72 6c 46 6f 6c |ocal url|, urlFol|
|00000ff0| 64 65 72 2c 20 75 72 6c | 4e 61 6d 65 2c 20 75 72 |der, url|Name, ur|
|00001000| 6c 49 74 65 6d 73 0d 09 | 6c 6f 63 61 6c 20 74 61 |lItems..|local ta|
|00001010| 72 67 65 74 46 6f 6c 64 | 65 72 50 61 74 68 2c 20 |rgetFold|erPath, |
|00001020| 66 69 6c 65 54 79 70 65 | 0d 09 2d 2d 0d 09 63 6f |fileType|..--..co|
|00001030| 70 79 20 74 68 65 20 74 | 65 78 74 20 69 74 65 6d |py the t|ext item|
|00001040| 20 64 65 6c 69 6d 69 74 | 65 72 73 20 74 6f 20 6f | delimit|ers to o|
|00001050| 6c 64 44 65 6c 69 6d 69 | 74 65 72 73 0d 09 2d 2d |ldDelimi|ters..--|
|00001060| 0d 09 74 65 6c 6c 20 6d | 65 20 74 6f 20 73 65 74 |..tell m|e to set|
|00001070| 20 74 68 65 20 74 65 78 | 74 20 69 74 65 6d 20 64 | the tex|t item d|
|00001080| 65 6c 69 6d 69 74 65 72 | 73 20 74 6f 20 7b 74 61 |elimiter|s to {ta|
|00001090| 62 7d 0d 09 63 6f 70 79 | 20 65 76 65 72 79 20 74 |b}..copy| every t|
|000010a0| 65 78 74 20 69 74 65 6d | 20 69 6e 20 63 61 63 68 |ext item| in cach|
|000010b0| 65 52 65 63 6f 72 64 20 | 74 6f 20 63 61 63 68 65 |eRecord |to cache|
|000010c0| 49 74 65 6d 73 0d 09 63 | 6f 70 79 20 74 68 65 20 |Items..c|opy the |
|000010d0| 36 74 68 20 69 74 65 6d | 20 6f 66 20 63 61 63 68 |6th item| of cach|
|000010e0| 65 49 74 65 6d 73 20 74 | 6f 20 66 69 6c 65 54 79 |eItems t|o fileTy|
|000010f0| 70 65 0d 09 63 6f 70 79 | 20 74 68 65 20 35 74 68 |pe..copy| the 5th|
|00001100| 20 69 74 65 6d 20 6f 66 | 20 63 61 63 68 65 49 74 | item of| cacheIt|
|00001110| 65 6d 73 20 74 6f 20 75 | 72 6c 0d 09 2d 2d 0d 09 |ems to u|rl..--..|
|00001120| 74 65 6c 6c 20 6d 65 20 | 74 6f 20 73 65 74 20 74 |tell me |to set t|
|00001130| 68 65 20 74 65 78 74 20 | 69 74 65 6d 20 64 65 6c |he text |item del|
|00001140| 69 6d 69 74 65 72 73 20 | 74 6f 20 7b 22 2f 22 7d |imiters |to {"/"}|
|00001150| 0d 09 63 6f 70 79 20 65 | 76 65 72 79 20 74 65 78 |..copy e|very tex|
|00001160| 74 20 69 74 65 6d 20 69 | 6e 20 75 72 6c 20 74 6f |t item i|n url to|
|00001170| 20 75 72 6c 49 74 65 6d | 73 0d 09 63 6f 70 79 20 | urlItem|s..copy |
|00001180| 28 69 74 65 6d 73 20 33 | 20 74 68 72 6f 75 67 68 |(items 3| through|
|00001190| 20 2d 32 20 69 6e 20 75 | 72 6c 49 74 65 6d 73 29 | -2 in u|rlItems)|
|000011a0| 20 74 6f 20 75 72 6c 46 | 6f 6c 64 65 72 0d 09 63 | to urlF|older..c|
|000011b0| 6f 70 79 20 74 68 65 20 | 6c 61 73 74 20 69 74 65 |opy the |last ite|
|000011c0| 6d 20 69 6e 20 75 72 6c | 49 74 65 6d 73 20 74 6f |m in url|Items to|
|000011d0| 20 75 72 6c 4e 61 6d 65 | 0d 09 74 65 6c 6c 20 6d | urlName|..tell m|
|000011e0| 65 20 74 6f 20 73 65 74 | 20 74 68 65 20 74 65 78 |e to set| the tex|
|000011f0| 74 20 69 74 65 6d 20 64 | 65 6c 69 6d 69 74 65 72 |t item d|elimiter|
|00001200| 73 20 74 6f 20 7b 22 22 | 7d 0d 09 69 66 20 75 72 |s to {""|}..if ur|
|00001210| 6c 4e 61 6d 65 20 69 73 | 20 22 22 20 74 68 65 6e |lName is| "" then|
|00001220| 20 73 65 74 20 74 68 65 | 20 75 72 6c 4e 61 6d 65 | set the| urlName|
|00001230| 20 74 6f 20 22 69 6e 64 | 65 78 2e 68 74 6d 6c 22 | to "ind|ex.html"|
|00001240| 0d 09 69 66 20 75 72 6c | 4e 61 6d 65 20 63 6f 6e |..if url|Name con|
|00001250| 74 61 69 6e 73 20 22 23 | 22 20 74 68 65 6e 20 c2 |tains "#|" then .|
|00001260| 0d 09 09 63 6f 70 79 20 | 63 68 61 72 61 63 74 65 |...copy |characte|
|00001270| 72 73 20 31 20 74 68 72 | 75 20 28 28 6f 66 66 73 |rs 1 thr|u ((offs|
|00001280| 65 74 20 6f 66 20 22 23 | 22 20 69 6e 20 75 72 6c |et of "#|" in url|
|00001290| 4e 61 6d 65 29 20 2d 20 | 31 29 20 69 6e 20 75 72 |Name) - |1) in ur|
|000012a0| 6c 4e 61 6d 65 20 61 73 | 20 73 74 72 69 6e 67 20 |lName as| string |
|000012b0| 74 6f 20 75 72 6c 4e 61 | 6d 65 0d 09 2d 2d 0d 09 |to urlNa|me..--..|
|000012c0| 74 65 6c 6c 20 6d 65 20 | 74 6f 20 73 65 74 20 74 |tell me |to set t|
|000012d0| 68 65 20 74 65 78 74 20 | 69 74 65 6d 20 64 65 6c |he text |item del|
|000012e0| 69 6d 69 74 65 72 73 20 | 74 6f 20 7b 22 3a 22 7d |imiters |to {":"}|
|000012f0| 0d 09 63 6f 70 79 20 28 | 28 63 61 63 68 65 66 6f |..copy (|(cachefo|
|00001300| 6c 64 65 72 20 61 73 20 | 73 74 72 69 6e 67 29 20 |lder as |string) |
|00001310| 26 20 63 61 63 68 65 4e | 61 6d 65 29 20 74 6f 20 |& cacheN|ame) to |
|00001320| 63 61 63 68 65 46 69 6c | 65 50 61 74 68 0d 09 63 |cacheFil|ePath..c|
|00001330| 6f 70 79 20 28 28 67 43 | 75 72 72 65 6e 74 46 6f |opy ((gC|urrentFo|
|00001340| 6c 64 65 72 20 61 73 20 | 73 74 72 69 6e 67 29 20 |lder as |string) |
|00001350| 26 20 28 75 72 6c 46 6f | 6c 64 65 72 20 61 73 20 |& (urlFo|lder as |
|00001360| 73 74 72 69 6e 67 29 29 | 20 74 6f 20 74 61 72 67 |string))| to targ|
|00001370| 65 74 46 6f 6c 64 65 72 | 50 61 74 68 0d 09 2d 2d |etFolder|Path..--|
|00001380| 0d 09 74 65 6c 6c 20 6d | 65 20 74 6f 20 61 74 74 |..tell m|e to att|
|00001390| 61 63 68 46 6f 6c 64 65 | 72 20 61 74 20 74 61 72 |achFolde|r at tar|
|000013a0| 67 65 74 46 6f 6c 64 65 | 72 50 61 74 68 20 61 73 |getFolde|rPath as|
|000013b0| 20 73 74 72 69 6e 67 0d | 09 74 65 6c 6c 20 6d 65 | string.|.tell me|
|000013c0| 20 74 6f 20 73 65 74 46 | 69 6c 65 41 74 74 72 69 | to setF|ileAttri|
|000013d0| 62 75 74 65 20 6f 66 20 | 28 61 6c 69 61 73 20 63 |bute of |(alias c|
|000013e0| 61 63 68 65 46 69 6c 65 | 50 61 74 68 29 20 62 79 |acheFile|Path) by|
|000013f0| 20 66 69 6c 65 54 79 70 | 65 0d 09 2d 2d 0d 09 63 | fileTyp|e..--..c|
|00001400| 6f 70 79 20 6f 6c 64 44 | 65 6c 69 6d 69 74 65 72 |opy oldD|elimiter|
|00001410| 73 20 74 6f 20 74 68 65 | 20 74 65 78 74 20 69 74 |s to the| text it|
|00001420| 65 6d 20 64 65 6c 69 6d | 69 74 65 72 73 0d 09 2d |em delim|iters..-|
|00001430| 2d 0d 09 74 65 6c 6c 20 | 61 70 70 6c 69 63 61 74 |-..tell |applicat|
|00001440| 69 6f 6e 20 22 46 69 6e | 64 65 72 22 0d 09 09 74 |ion "Fin|der"...t|
|00001450| 72 79 0d 09 09 09 6d 6f | 76 65 20 61 6c 69 61 73 |ry....mo|ve alias|
|00001460| 20 63 61 63 68 65 46 69 | 6c 65 50 61 74 68 20 74 | cacheFi|lePath t|
|00001470| 6f 20 74 68 65 20 66 6f | 6c 64 65 72 20 74 61 72 |o the fo|lder tar|
|00001480| 67 65 74 46 6f 6c 64 65 | 72 50 61 74 68 0d 09 09 |getFolde|rPath...|
|00001490| 09 2d 2d 4e 65 74 43 61 | 63 68 65 42 61 63 6b 20 |.--NetCa|cheBack |
|000014a0| 30 2e 39 64 36 0d 09 09 | 09 69 66 20 6e 6f 74 20 |0.9d6...|.if not |
|000014b0| 67 4f 76 65 72 72 69 64 | 65 20 74 68 65 6e 0d 09 |gOverrid|e then..|
|000014c0| 09 09 09 74 65 6c 6c 20 | 6d 65 20 74 6f 20 67 65 |...tell |me to ge|
|000014d0| 6e 65 72 61 74 65 46 69 | 6c 65 4e 61 6d 65 20 62 |nerateFi|leName b|
|000014e0| 79 20 75 72 6c 4e 61 6d | 65 0d 09 09 09 09 63 6f |y urlNam|e.....co|
|000014f0| 70 79 20 74 68 65 20 72 | 65 73 75 6c 74 20 74 6f |py the r|esult to|
|00001500| 20 75 72 6c 4e 61 6d 65 | 0d 09 09 09 65 6e 64 20 | urlName|....end |
|00001510| 69 66 0d 09 09 09 69 66 | 20 74 68 65 20 66 69 6c |if....if| the fil|
|00001520| 65 20 75 72 6c 4e 61 6d | 65 20 69 6e 20 74 68 65 |e urlNam|e in the|
|00001530| 20 66 6f 6c 64 65 72 20 | 74 61 72 67 65 74 46 6f | folder |targetFo|
|00001540| 6c 64 65 72 50 61 74 68 | 20 65 78 69 73 74 73 20 |lderPath| exists |
|00001550| 74 68 65 6e 0d 09 09 09 | 09 69 66 20 6e 6f 74 20 |then....|.if not |
|00001560| 67 4f 76 65 72 72 69 64 | 65 20 74 68 65 6e 0d 09 |gOverrid|e then..|
|00001570| 09 09 09 09 2d 2d 4e 65 | 74 43 61 63 68 65 42 61 |....--Ne|tCacheBa|
|00001580| 63 6b 20 30 2e 39 64 36 | 0d 09 09 09 09 09 74 65 |ck 0.9d6|......te|
|00001590| 6c 6c 20 6d 65 20 74 6f | 20 74 72 61 63 65 4c 6f |ll me to| traceLo|
|000015a0| 67 20 66 6f 72 20 22 d2 | 22 20 26 20 74 61 72 67 |g for ".|" & targ|
|000015b0| 65 74 46 6f 6c 64 65 72 | 50 61 74 68 20 26 20 22 |etFolder|Path & "|
|000015c0| 3a 22 20 26 20 75 72 6c | 4e 61 6d 65 20 26 20 22 |:" & url|Name & "|
|000015d0| d3 20 77 61 73 20 72 65 | 70 6c 61 63 65 64 2e 22 |. was re|placed."|
|000015e0| 0d 09 09 09 09 09 64 65 | 6c 65 74 65 20 74 68 65 |......de|lete the|
|000015f0| 20 66 69 6c 65 20 75 72 | 6c 4e 61 6d 65 20 69 6e | file ur|lName in|
|00001600| 20 74 68 65 20 66 6f 6c | 64 65 72 20 74 61 72 67 | the fol|der targ|
|00001610| 65 74 46 6f 6c 64 65 72 | 50 61 74 68 0d 09 09 09 |etFolder|Path....|
|00001620| 09 65 6c 73 65 0d 09 09 | 09 09 09 65 72 72 6f 72 |.else...|...error|
|00001630| 0d 09 09 09 09 65 6e 64 | 20 69 66 0d 09 09 09 65 |.....end| if....e|
|00001640| 6e 64 20 69 66 0d 09 09 | 09 73 65 74 20 74 68 65 |nd if...|.set the|
|00001650| 20 6e 61 6d 65 20 6f 66 | 20 66 69 6c 65 20 63 61 | name of| file ca|
|00001660| 63 68 65 4e 61 6d 65 20 | 69 6e 20 74 68 65 20 66 |cheName |in the f|
|00001670| 6f 6c 64 65 72 20 74 61 | 72 67 65 74 46 6f 6c 64 |older ta|rgetFold|
|00001680| 65 72 50 61 74 68 20 74 | 6f 20 75 72 6c 4e 61 6d |erPath t|o urlNam|
|00001690| 65 0d 09 09 6f 6e 20 65 | 72 72 6f 72 0d 09 09 09 |e...on e|rror....|
|000016a0| 2d 2d 4e 65 74 43 61 63 | 68 65 42 61 63 6b 20 30 |--NetCac|heBack 0|
|000016b0| 2e 39 64 36 0d 09 09 09 | 74 65 6c 6c 20 6d 65 20 |.9d6....|tell me |
|000016c0| 74 6f 20 74 72 61 63 65 | 4c 6f 67 20 66 6f 72 20 |to trace|Log for |
|000016d0| 22 43 61 6e d5 74 20 6d | 6f 76 65 20 d2 22 20 26 |"Can.t m|ove ." &|
|000016e0| 20 63 61 63 68 65 4e 61 | 6d 65 20 26 20 22 d3 20 | cacheNa|me & ". |
|000016f0| 74 6f 20 22 20 26 20 74 | 61 72 67 65 74 46 6f 6c |to " & t|argetFol|
|00001700| 64 65 72 50 61 74 68 20 | 26 20 22 3a 22 20 26 20 |derPath |& ":" & |
|00001710| 75 72 6c 4e 61 6d 65 0d | 09 09 09 2d 2d 4e 65 74 |urlName.|...--Net|
|00001720| 43 61 63 68 65 42 61 63 | 6b 20 30 2e 39 64 36 0d |CacheBac|k 0.9d6.|
|00001730| 09 09 09 69 66 20 67 56 | 65 72 62 6f 73 65 20 74 |...if gV|erbose t|
|00001740| 68 65 6e 20 c2 0d 09 09 | 09 09 64 69 73 70 6c 61 |hen ....|..displa|
|00001750| 79 20 64 69 61 6c 6f 67 | 20 22 43 61 6e d5 74 20 |y dialog| "Can.t |
|00001760| 6d 6f 76 65 20 d2 22 20 | 26 20 63 61 63 68 65 4e |move ." |& cacheN|
|00001770| 61 6d 65 20 26 20 22 d3 | 20 74 6f 20 22 20 26 20 |ame & ".| to " & |
|00001780| 74 61 72 67 65 74 46 6f | 6c 64 65 72 50 61 74 68 |targetFo|lderPath|
|00001790| 20 26 20 22 3a 22 20 26 | 20 75 72 6c 4e 61 6d 65 | & ":" &| urlName|
|000017a0| 20 c2 0d 09 09 09 09 09 | 62 75 74 74 6f 6e 73 20 | .......|buttons |
|000017b0| 7b 22 4f 4b 22 7d 20 64 | 65 66 61 75 6c 74 20 62 |{"OK"} d|efault b|
|000017c0| 75 74 74 6f 6e 20 31 20 | 77 69 74 68 20 69 63 6f |utton 1 |with ico|
|000017d0| 6e 20 63 61 75 74 69 6f | 6e 0d 09 09 65 6e 64 20 |n cautio|n...end |
|000017e0| 74 72 79 0d 09 65 6e 64 | 20 74 65 6c 6c 0d 65 6e |try..end| tell.en|
|000017f0| 64 20 72 65 6e 61 6d 65 | 43 61 63 68 65 46 69 6c |d rename|CacheFil|
|00001800| 65 0d 0d 0d 74 6f 20 61 | 74 74 61 63 68 46 6f 6c |e...to a|ttachFol|
|00001810| 64 65 72 20 61 74 20 70 | 61 74 68 4e 61 6d 65 20 |der at p|athName |
|00001820| 2d 2d 20 61 73 20 73 74 | 72 69 6e 67 0d 09 6c 6f |-- as st|ring..lo|
|00001830| 63 61 6c 20 6c 69 73 74 | 46 6f 6c 64 65 72 73 2c |cal list|Folders,|
|00001840| 20 6e 75 6d 62 46 6f 6c | 64 65 72 73 2c 20 70 61 | numbFol|ders, pa|
|00001850| 72 65 6e 74 46 6f 6c 64 | 65 72 2c 20 74 61 72 67 |rentFold|er, targ|
|00001860| 65 74 46 6f 6c 64 65 72 | 0d 09 2d 2d 0d 09 74 65 |etFolder|..--..te|
|00001870| 6c 6c 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 22 |ll appli|cation "|
|00001880| 46 69 6e 64 65 72 22 0d | 09 09 69 66 20 70 61 74 |Finder".|..if pat|
|00001890| 68 4e 61 6d 65 20 69 73 | 20 22 22 20 74 68 65 6e |hName is| "" then|
|000018a0| 0d 09 09 09 72 65 74 75 | 72 6e 20 70 61 74 68 20 |....retu|rn path |
|000018b0| 74 6f 20 64 65 73 6b 74 | 6f 70 20 2d 2d 20 63 61 |to deskt|op -- ca|
|000018c0| 73 65 20 6f 66 20 74 68 | 65 20 44 65 73 6b 74 6f |se of th|e Deskto|
|000018d0| 70 0d 09 09 65 6c 73 65 | 20 69 66 20 74 68 65 20 |p...else| if the |
|000018e0| 66 6f 6c 64 65 72 20 70 | 61 74 68 4e 61 6d 65 20 |folder p|athName |
|000018f0| 65 78 69 73 74 73 20 74 | 68 65 6e 0d 09 09 09 72 |exists t|hen....r|
|00001900| 65 74 75 72 6e 20 74 68 | 65 20 66 6f 6c 64 65 72 |eturn th|e folder|
|00001910| 20 70 61 74 68 4e 61 6d | 65 20 2d 2d 20 63 61 73 | pathNam|e -- cas|
|00001920| 65 20 6f 66 20 74 68 65 | 20 46 6f 6c 64 65 72 0d |e of the| Folder.|
|00001930| 09 09 65 6c 73 65 20 69 | 66 20 74 68 65 20 64 69 |..else i|f the di|
|00001940| 73 6b 20 70 61 74 68 4e | 61 6d 65 20 65 78 69 73 |sk pathN|ame exis|
|00001950| 74 73 20 74 68 65 6e 0d | 09 09 09 72 65 74 75 72 |ts then.|...retur|
|00001960| 6e 20 74 68 65 20 64 69 | 73 6b 20 70 61 74 68 4e |n the di|sk pathN|
|00001970| 61 6d 65 20 2d 2d 20 63 | 61 73 65 20 6f 66 20 74 |ame -- c|ase of t|
|00001980| 68 65 20 56 6f 6c 75 6d | 65 0d 09 09 65 6c 73 65 |he Volum|e...else|
|00001990| 0d 09 09 09 2d 2d 62 65 | 65 70 0d 09 09 09 74 65 |....--be|ep....te|
|000019a0| 6c 6c 20 6d 65 20 74 6f | 20 73 65 74 20 74 68 65 |ll me to| set the|
|000019b0| 20 74 65 78 74 20 69 74 | 65 6d 20 64 65 6c 69 6d | text it|em delim|
|000019c0| 69 74 65 72 73 20 74 6f | 20 7b 22 3a 22 7d 0d 09 |iters to| {":"}..|
|000019d0| 09 09 63 6f 70 79 20 65 | 76 65 72 79 20 74 65 78 |..copy e|very tex|
|000019e0| 74 20 69 74 65 6d 20 6f | 66 20 70 61 74 68 4e 61 |t item o|f pathNa|
|000019f0| 6d 65 20 74 6f 20 74 68 | 65 20 6c 69 73 74 46 6f |me to th|e listFo|
|00001a00| 6c 64 65 72 73 0d 09 09 | 09 63 6f 70 79 20 28 74 |lders...|.copy (t|
|00001a10| 68 65 20 63 6f 75 6e 74 | 20 6f 66 20 69 74 65 6d |he count| of item|
|00001a20| 73 20 69 6e 20 74 68 65 | 20 6c 69 73 74 46 6f 6c |s in the| listFol|
|00001a30| 64 65 72 73 29 20 74 6f | 20 74 68 65 20 6e 75 6d |ders) to| the num|
|00001a40| 62 46 6f 6c 64 65 72 73 | 0d 09 09 09 69 66 20 6c |bFolders|....if l|
|00001a50| 69 73 74 46 6f 6c 64 65 | 72 73 20 65 6e 64 73 20 |istFolde|rs ends |
|00001a60| 77 69 74 68 20 7b 22 22 | 7d 20 74 68 65 6e 20 c2 |with {""|} then .|
|00001a70| 0d 09 09 09 09 63 6f 70 | 79 20 74 68 65 20 6e 75 |.....cop|y the nu|
|00001a80| 6d 62 46 6f 6c 64 65 72 | 73 20 2d 20 31 20 74 6f |mbFolder|s - 1 to|
|00001a90| 20 74 68 65 20 6e 75 6d | 62 46 6f 6c 64 65 72 73 | the num|bFolders|
|00001aa0| 0d 09 09 09 63 6f 70 79 | 20 74 68 65 20 69 74 65 |....copy| the ite|
|00001ab0| 6d 20 6e 75 6d 62 46 6f | 6c 64 65 72 73 20 69 6e |m numbFo|lders in|
|00001ac0| 20 74 68 65 20 6c 69 73 | 74 46 6f 6c 64 65 72 73 | the lis|tFolders|
|00001ad0| 20 74 6f 20 74 61 72 67 | 65 74 46 6f 6c 64 65 72 | to targ|etFolder|
|00001ae0| 0d 09 09 09 63 6f 70 79 | 20 28 65 76 65 72 79 20 |....copy| (every |
|00001af0| 69 74 65 6d 20 69 6e 20 | 28 69 74 65 6d 73 20 31 |item in |(items 1|
|00001b00| 20 74 68 72 75 20 28 6e | 75 6d 62 46 6f 6c 64 65 | thru (n|umbFolde|
|00001b10| 72 73 20 2d 20 31 29 20 | 69 6e 20 74 68 65 20 6c |rs - 1) |in the l|
|00001b20| 69 73 74 46 6f 6c 64 65 | 72 73 29 29 20 26 20 7b |istFolde|rs)) & {|
|00001b30| 22 22 7d 20 c2 0d 09 09 | 09 09 74 6f 20 70 61 72 |""} ....|..to par|
|00001b40| 65 6e 74 46 6f 6c 64 65 | 72 0d 09 09 09 74 65 6c |entFolde|r....tel|
|00001b50| 6c 20 6d 65 20 74 6f 20 | 61 74 74 61 63 68 46 6f |l me to |attachFo|
|00001b60| 6c 64 65 72 20 61 74 20 | 74 68 65 20 70 61 72 65 |lder at |the pare|
|00001b70| 6e 74 46 6f 6c 64 65 72 | 20 61 73 20 73 74 72 69 |ntFolder| as stri|
|00001b80| 6e 67 0d 09 09 09 6d 61 | 6b 65 20 6e 65 77 20 66 |ng....ma|ke new f|
|00001b90| 6f 6c 64 65 72 20 61 74 | 20 74 68 65 20 72 65 73 |older at| the res|
|00001ba0| 75 6c 74 20 77 69 74 68 | 20 70 72 6f 70 65 72 74 |ult with| propert|
|00001bb0| 69 65 73 20 7b 6e 61 6d | 65 3a 74 61 72 67 65 74 |ies {nam|e:target|
|00001bc0| 46 6f 6c 64 65 72 7d 0d | 09 09 09 72 65 74 75 72 |Folder}.|...retur|
|00001bd0| 6e 20 74 68 65 20 72 65 | 73 75 6c 74 0d 09 09 65 |n the re|sult...e|
|00001be0| 6e 64 20 69 66 0d 09 65 | 6e 64 20 74 65 6c 6c 0d |nd if..e|nd tell.|
|00001bf0| 65 6e 64 20 61 74 74 61 | 63 68 46 6f 6c 64 65 72 |end atta|chFolder|
|00001c00| 0d 0d 0d 2d 2d 20 4e 65 | 74 43 61 63 68 65 42 61 |...-- Ne|tCacheBa|
|00001c10| 63 6b 20 30 2e 39 64 36 | 0d 74 6f 20 67 65 6e 65 |ck 0.9d6|.to gene|
|00001c20| 72 61 74 65 46 69 6c 65 | 4e 61 6d 65 20 62 79 20 |rateFile|Name by |
|00001c30| 74 68 65 46 69 6c 65 6e | 61 6d 65 0d 09 6c 6f 63 |theFilen|ame..loc|
|00001c40| 61 6c 20 74 68 65 50 6f | 73 2c 20 63 68 61 6e 67 |al thePo|s, chang|
|00001c50| 65 64 2c 20 74 68 65 46 | 69 6c 65 6e 61 6d 65 30 |ed, theF|ilename0|
|00001c60| 0d 09 6c 6f 63 61 6c 20 | 6f 6c 64 44 65 6c 69 6d |..local |oldDelim|
|00001c70| 69 74 65 72 73 0d 09 2d | 2d 0d 09 63 6f 70 79 20 |iters..-|-..copy |
|00001c80| 74 68 65 20 74 65 78 74 | 20 69 74 65 6d 20 64 65 |the text| item de|
|00001c90| 6c 69 6d 69 74 65 72 73 | 20 74 6f 20 6f 6c 64 44 |limiters| to oldD|
|00001ca0| 65 6c 69 6d 69 74 65 72 | 73 0d 09 74 65 6c 6c 20 |elimiter|s..tell |
|00001cb0| 6d 65 20 74 6f 20 73 65 | 74 20 74 68 65 20 74 65 |me to se|t the te|
|00001cc0| 78 74 20 69 74 65 6d 20 | 64 65 6c 69 6d 69 74 65 |xt item |delimite|
|00001cd0| 72 73 20 74 6f 20 7b 22 | 22 7d 0d 09 2d 2d 0d 09 |rs to {"|"}..--..|
|00001ce0| 63 6f 70 79 20 74 68 65 | 46 69 6c 65 6e 61 6d 65 |copy the|Filename|
|00001cf0| 20 74 6f 20 74 68 65 46 | 69 6c 65 6e 61 6d 65 30 | to theF|ilename0|
|00001d00| 0d 09 73 65 74 20 63 68 | 61 6e 67 65 64 20 74 6f |..set ch|anged to|
|00001d10| 20 66 61 6c 73 65 0d 09 | 2d 2d 0d 09 2d 2d 20 74 | false..|--..-- t|
|00001d20| 72 75 6e 63 61 74 65 20 | 66 69 6c 65 20 6c 65 6e |runcate |file len|
|00001d30| 67 74 68 20 69 6e 20 33 | 31 20 63 68 61 72 61 63 |gth in 3|1 charac|
|00001d40| 74 65 72 73 0d 09 73 65 | 74 20 74 68 65 50 6f 73 |ters..se|t thePos|
|00001d50| 20 74 6f 20 28 63 6f 75 | 6e 74 20 6f 66 20 74 68 | to (cou|nt of th|
|00001d60| 65 46 69 6c 65 6e 61 6d | 65 29 0d 09 69 66 20 74 |eFilenam|e)..if t|
|00001d70| 68 65 50 6f 73 20 69 73 | 20 67 72 65 61 74 65 72 |hePos is| greater|
|00001d80| 20 74 68 61 6e 20 33 31 | 20 74 68 65 6e 0d 09 09 | than 31| then...|
|00001d90| 63 6f 70 79 20 c2 0d 09 | 09 09 28 63 68 61 72 61 |copy ...|..(chara|
|00001da0| 63 74 65 72 73 20 31 20 | 74 68 72 75 20 32 35 20 |cters 1 |thru 25 |
|00001db0| 69 6e 20 74 68 65 46 69 | 6c 65 6e 61 6d 65 20 61 |in theFi|lename a|
|00001dc0| 73 20 73 74 72 69 6e 67 | 29 20 26 20 c2 0d 09 09 |s string|) & ....|
|00001dd0| 09 28 63 68 61 72 61 63 | 74 65 72 73 20 28 74 68 |.(charac|ters (th|
|00001de0| 65 50 6f 73 2d 35 29 20 | 74 68 72 75 20 28 74 68 |ePos-5) |thru (th|
|00001df0| 65 50 6f 73 29 20 69 6e | 20 74 68 65 46 69 6c 65 |ePos) in| theFile|
|00001e00| 6e 61 6d 65 20 61 73 20 | 73 74 72 69 6e 67 29 20 |name as |string) |
|00001e10| c2 0d 09 09 09 74 6f 20 | 74 68 65 46 69 6c 65 6e |.....to |theFilen|
|00001e20| 61 6d 65 0d 09 09 73 65 | 74 20 63 68 61 6e 67 65 |ame...se|t change|
|00001e30| 64 20 74 6f 20 74 72 75 | 65 0d 09 65 6e 64 20 69 |d to tru|e..end i|
|00001e40| 66 0d 09 2d 2d 0d 09 2d | 2d 20 7a 61 70 20 22 3a |f..--..-|- zap ":|
|00001e50| 22 20 69 6e 20 66 69 6c | 65 6e 61 6d 65 0d 09 72 |" in fil|ename..r|
|00001e60| 65 70 65 61 74 0d 09 09 | 73 65 74 20 74 68 65 50 |epeat...|set theP|
|00001e70| 6f 73 20 74 6f 20 6f 66 | 66 73 65 74 20 6f 66 20 |os to of|fset of |
|00001e80| 22 3a 22 20 69 6e 20 74 | 68 65 46 69 6c 65 6e 61 |":" in t|heFilena|
|00001e90| 6d 65 0d 09 09 69 66 20 | 74 68 65 50 6f 73 20 69 |me...if |thePos i|
|00001ea0| 73 20 30 20 74 68 65 6e | 20 65 78 69 74 20 72 65 |s 0 then| exit re|
|00001eb0| 70 65 61 74 0d 09 09 63 | 6f 70 79 20 c2 0d 09 09 |peat...c|opy ....|
|00001ec0| 09 28 63 68 61 72 61 63 | 74 65 72 73 20 31 20 74 |.(charac|ters 1 t|
|00001ed0| 68 72 75 20 28 74 68 65 | 50 6f 73 20 2d 20 31 29 |hru (the|Pos - 1)|
|00001ee0| 20 69 6e 20 74 68 65 46 | 69 6c 65 6e 61 6d 65 20 | in theF|ilename |
|00001ef0| 61 73 20 73 74 72 69 6e | 67 29 20 26 20 22 5f 22 |as strin|g) & "_"|
|00001f00| 20 26 20 c2 0d 09 09 09 | 28 63 68 61 72 61 63 74 | & .....|(charact|
|00001f10| 65 72 73 20 28 74 68 65 | 50 6f 73 20 2b 20 31 29 |ers (the|Pos + 1)|
|00001f20| 20 74 68 72 75 20 28 63 | 6f 75 6e 74 20 6f 66 20 | thru (c|ount of |
|00001f30| 74 68 65 46 69 6c 65 6e | 61 6d 65 29 20 69 6e 20 |theFilen|ame) in |
|00001f40| 74 68 65 46 69 6c 65 6e | 61 6d 65 20 61 73 20 73 |theFilen|ame as s|
|00001f50| 74 72 69 6e 67 29 20 c2 | 0d 09 09 09 09 74 6f 20 |tring) .|.....to |
|00001f60| 74 68 65 46 69 6c 65 6e | 61 6d 65 0d 09 09 73 65 |theFilen|ame...se|
|00001f70| 74 20 63 68 61 6e 67 65 | 64 20 74 6f 20 74 72 75 |t change|d to tru|
|00001f80| 65 0d 09 65 6e 64 20 72 | 65 70 65 61 74 0d 09 2d |e..end r|epeat..-|
|00001f90| 2d 0d 09 69 66 20 63 68 | 61 6e 67 65 64 20 74 68 |-..if ch|anged th|
|00001fa0| 65 6e 20 c2 0d 09 09 74 | 65 6c 6c 20 6d 65 20 74 |en ....t|ell me t|
|00001fb0| 6f 20 74 72 61 63 65 4c | 6f 67 20 66 6f 72 20 22 |o traceL|og for "|
|00001fc0| d2 22 20 26 20 74 68 65 | 46 69 6c 65 6e 61 6d 65 |." & the|Filename|
|00001fd0| 30 20 26 20 22 d3 20 77 | 61 73 20 74 72 75 6e 63 |0 & ". w|as trunc|
|00001fe0| 61 74 65 64 20 6f 72 20 | 7a 61 70 70 65 64 20 74 |ated or |zapped t|
|00001ff0| 6f 20 d2 22 20 26 20 74 | 68 65 46 69 6c 65 6e 61 |o ." & t|heFilena|
|00002000| 6d 65 20 26 20 22 d3 2e | 22 0d 09 2d 2d 0d 09 63 |me & "..|"..--..c|
|00002010| 6f 70 79 20 6f 6c 64 44 | 65 6c 69 6d 69 74 65 72 |opy oldD|elimiter|
|00002020| 73 20 74 6f 20 74 68 65 | 20 74 65 78 74 20 69 74 |s to the| text it|
|00002030| 65 6d 20 64 65 6c 69 6d | 69 74 65 72 73 0d 09 2d |em delim|iters..-|
|00002040| 2d 0d 09 72 65 74 75 72 | 6e 20 74 68 65 46 69 6c |-..retur|n theFil|
|00002050| 65 6e 61 6d 65 20 61 73 | 20 73 74 72 69 6e 67 0d |ename as| string.|
|00002060| 65 6e 64 20 67 65 6e 65 | 72 61 74 65 46 69 6c 65 |end gene|rateFile|
|00002070| 4e 61 6d 65 0d 0d 0d 2d | 2d 20 4e 65 74 43 61 63 |Name...-|- NetCac|
|00002080| 68 65 42 61 63 6b 20 30 | 2e 39 64 35 0d 2d 2d 74 |heBack 0|.9d5.--t|
|00002090| 6f 20 73 65 74 46 69 6c | 65 41 74 74 72 69 62 75 |o setFil|eAttribu|
|000020a0| 74 65 20 6f 66 20 66 69 | 6c 65 52 65 66 20 62 79 |te of fi|leRef by|
|000020b0| 20 66 69 6c 65 54 79 70 | 65 0d 2d 2d 09 74 65 6c | fileTyp|e.--.tel|
|000020c0| 6c 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 22 46 |l applic|ation "F|
|000020d0| 69 6e 64 65 72 22 0d 2d | 2d 09 09 69 66 20 66 69 |inder".-|-..if fi|
|000020e0| 6c 65 54 79 70 65 20 63 | 6f 6e 74 61 69 6e 73 20 |leType c|ontains |
|000020f0| 22 74 65 78 74 2f 68 74 | 6d 6c 22 20 74 68 65 6e |"text/ht|ml" then|
|00002100| 0d 2d 2d 09 09 09 73 65 | 74 20 74 68 65 20 66 69 |.--...se|t the fi|
|00002110| 6c 65 20 74 79 70 65 20 | 6f 66 20 66 69 6c 65 52 |le type |of fileR|
|00002120| 65 66 20 74 6f 20 22 54 | 45 58 54 22 0d 2d 2d 09 |ef to "T|EXT".--.|
|00002130| 09 09 73 65 74 20 74 68 | 65 20 63 72 65 61 74 6f |..set th|e creato|
|00002140| 72 20 74 79 70 65 20 6f | 66 20 66 69 6c 65 52 65 |r type o|f fileRe|
|00002150| 66 20 74 6f 20 22 4d 4f | 53 53 22 0d 2d 2d 09 09 |f to "MO|SS".--..|
|00002160| 65 6c 73 65 20 69 66 20 | 66 69 6c 65 54 79 70 65 |else if |fileType|
|00002170| 20 63 6f 6e 74 61 69 6e | 73 20 22 74 65 78 74 2f | contain|s "text/|
|00002180| 70 6c 61 69 6e 22 20 74 | 68 65 6e 0d 2d 2d 09 09 |plain" t|hen.--..|
|00002190| 09 73 65 74 20 74 68 65 | 20 66 69 6c 65 20 74 79 |.set the| file ty|
|000021a0| 70 65 20 6f 66 20 66 69 | 6c 65 52 65 66 20 74 6f |pe of fi|leRef to|
|000021b0| 20 22 54 45 58 54 22 0d | 2d 2d 09 09 09 73 65 74 | "TEXT".|--...set|
|000021c0| 20 74 68 65 20 63 72 65 | 61 74 6f 72 20 74 79 70 | the cre|ator typ|
|000021d0| 65 20 6f 66 20 66 69 6c | 65 52 65 66 20 74 6f 20 |e of fil|eRef to |
|000021e0| 22 74 74 78 74 22 0d 2d | 2d 09 09 65 6c 73 65 20 |"ttxt".-|-..else |
|000021f0| 69 66 20 66 69 6c 65 54 | 79 70 65 20 63 6f 6e 74 |if fileT|ype cont|
|00002200| 61 69 6e 73 20 22 69 6d | 61 67 65 2f 67 69 66 22 |ains "im|age/gif"|
|00002210| 20 74 68 65 6e 0d 2d 2d | 09 09 09 73 65 74 20 74 | then.--|...set t|
|00002220| 68 65 20 66 69 6c 65 20 | 74 79 70 65 20 6f 66 20 |he file |type of |
|00002230| 66 69 6c 65 52 65 66 20 | 74 6f 20 22 47 49 46 66 |fileRef |to "GIFf|
|00002240| 22 0d 2d 2d 09 09 09 73 | 65 74 20 74 68 65 20 63 |".--...s|et the c|
|00002250| 72 65 61 74 6f 72 20 74 | 79 70 65 20 6f 66 20 66 |reator t|ype of f|
|00002260| 69 6c 65 52 65 66 20 74 | 6f 20 22 4a 56 57 52 22 |ileRef t|o "JVWR"|
|00002270| 0d 2d 2d 09 09 65 6c 73 | 65 20 69 66 20 66 69 6c |.--..els|e if fil|
|00002280| 65 54 79 70 65 20 63 6f | 6e 74 61 69 6e 73 20 22 |eType co|ntains "|
|00002290| 69 6d 61 67 65 2f 6a 70 | 65 67 22 20 74 68 65 6e |image/jp|eg" then|
|000022a0| 0d 2d 2d 09 09 09 73 65 | 74 20 74 68 65 20 66 69 |.--...se|t the fi|
|000022b0| 6c 65 20 74 79 70 65 20 | 6f 66 20 66 69 6c 65 52 |le type |of fileR|
|000022c0| 65 66 20 74 6f 20 22 4a | 50 45 47 22 0d 2d 2d 09 |ef to "J|PEG".--.|
|000022d0| 09 09 73 65 74 20 74 68 | 65 20 63 72 65 61 74 6f |..set th|e creato|
|000022e0| 72 20 74 79 70 65 20 6f | 66 20 66 69 6c 65 52 65 |r type o|f fileRe|
|000022f0| 66 20 74 6f 20 22 4a 56 | 57 52 22 0d 2d 2d 09 09 |f to "JV|WR".--..|
|00002300| 65 6e 64 20 69 66 0d 2d | 2d 09 65 6e 64 20 74 65 |end if.-|-.end te|
|00002310| 6c 6c 0d 2d 2d 65 6e 64 | 20 73 65 74 46 69 6c 65 |ll.--end| setFile|
|00002320| 41 74 74 72 69 62 75 74 | 65 0d 0d 0d 2d 2d 20 4e |Attribut|e...-- N|
|00002330| 65 74 43 61 63 68 65 42 | 61 63 6b 20 30 2e 39 64 |etCacheB|ack 0.9d|
|00002340| 36 0d 2d 2d 20 54 68 65 | 20 66 69 6c 65 20 74 79 |6.-- The| file ty|
|00002350| 70 65 73 20 61 72 65 20 | 72 65 61 64 20 66 72 6f |pes are |read fro|
|00002360| 6d 20 22 4e 65 74 43 61 | 63 68 65 42 61 63 6b 20 |m "NetCa|cheBack |
|00002370| 50 72 65 66 22 20 66 69 | 6c 65 2e 0d 74 6f 20 73 |Pref" fi|le..to s|
|00002380| 65 74 46 69 6c 65 41 74 | 74 72 69 62 75 74 65 20 |etFileAt|tribute |
|00002390| 6f 66 20 66 69 6c 65 52 | 65 66 20 62 79 20 66 69 |of fileR|ef by fi|
|000023a0| 6c 65 54 79 70 65 0d 09 | 67 6c 6f 62 61 6c 20 67 |leType..|global g|
|000023b0| 54 72 61 63 65 4c 6f 67 | 2c 20 67 56 65 72 62 6f |TraceLog|, gVerbo|
|000023c0| 73 65 2c 20 67 4f 76 65 | 72 72 69 64 65 2c 20 67 |se, gOve|rride, g|
|000023d0| 46 6f 72 6d 4c 69 73 74 | 0d 09 6c 6f 63 61 6c 20 |FormList|..local |
|000023e0| 74 68 65 46 6f 72 6d 50 | 61 69 72 0d 09 2d 2d 0d |theFormP|air..--.|
|000023f0| 09 74 65 6c 6c 20 61 70 | 70 6c 69 63 61 74 69 6f |.tell ap|plicatio|
|00002400| 6e 20 22 46 69 6e 64 65 | 72 22 0d 09 09 72 65 70 |n "Finde|r"...rep|
|00002410| 65 61 74 20 77 69 74 68 | 20 74 68 65 46 6f 72 6d |eat with| theForm|
|00002420| 50 61 69 72 20 69 6e 20 | 67 46 6f 72 6d 4c 69 73 |Pair in |gFormLis|
|00002430| 74 0d 09 09 09 69 66 20 | 74 68 65 20 74 68 65 46 |t....if |the theF|
|00002440| 6f 72 6d 50 61 69 72 20 | 62 65 67 69 6e 73 20 77 |ormPair |begins w|
|00002450| 69 74 68 20 66 69 6c 65 | 54 79 70 65 20 74 68 65 |ith file|Type the|
|00002460| 6e 0d 09 09 09 09 73 65 | 74 20 74 68 65 20 66 69 |n.....se|t the fi|
|00002470| 6c 65 20 74 79 70 65 20 | 6f 66 20 66 69 6c 65 52 |le type |of fileR|
|00002480| 65 66 20 74 6f 20 74 68 | 65 20 32 6e 64 20 69 74 |ef to th|e 2nd it|
|00002490| 65 6d 20 6f 66 20 74 68 | 65 46 6f 72 6d 50 61 69 |em of th|eFormPai|
|000024a0| 72 0d 09 09 09 09 73 65 | 74 20 74 68 65 20 63 72 |r.....se|t the cr|
|000024b0| 65 61 74 6f 72 20 74 79 | 70 65 20 6f 66 20 66 69 |eator ty|pe of fi|
|000024c0| 6c 65 52 65 66 20 74 6f | 20 74 68 65 20 33 72 64 |leRef to| the 3rd|
|000024d0| 20 69 74 65 6d 20 6f 66 | 20 74 68 65 46 6f 72 6d | item of| theForm|
|000024e0| 50 61 69 72 0d 09 09 09 | 09 65 78 69 74 20 72 65 |Pair....|.exit re|
|000024f0| 70 65 61 74 0d 09 09 09 | 65 6e 64 20 69 66 0d 09 |peat....|end if..|
|00002500| 09 65 6e 64 20 72 65 70 | 65 61 74 0d 09 65 6e 64 |.end rep|eat..end|
|00002510| 20 74 65 6c 6c 0d 65 6e | 64 20 73 65 74 46 69 6c | tell.en|d setFil|
|00002520| 65 41 74 74 72 69 62 75 | 74 65 0d 0d 0d 2d 2d 20 |eAttribu|te...-- |
|00002530| 4e 65 74 43 61 63 68 65 | 42 61 63 6b 20 30 2e 39 |NetCache|Back 0.9|
|00002540| 64 36 0d 74 6f 20 67 65 | 74 50 72 65 66 65 72 65 |d6.to ge|tPrefere|
|00002550| 6e 63 65 73 28 29 0d 09 | 67 6c 6f 62 61 6c 20 67 |nces()..|global g|
|00002560| 54 72 61 63 65 4c 6f 67 | 2c 20 67 56 65 72 62 6f |TraceLog|, gVerbo|
|00002570| 73 65 2c 20 67 4f 76 65 | 72 72 69 64 65 2c 20 67 |se, gOve|rride, g|
|00002580| 46 6f 72 6d 4c 69 73 74 | 0d 09 6c 6f 63 61 6c 20 |FormList|..local |
|00002590| 70 72 65 66 4e 61 6d 65 | 2c 20 70 72 65 66 46 69 |prefName|, prefFi|
|000025a0| 6c 65 2c 20 70 72 65 66 | 4c 69 73 74 2c 20 74 68 |le, pref|List, th|
|000025b0| 65 49 74 65 6d 0d 09 2d | 2d 0d 09 2d 2d 20 72 65 |eItem..-|-..-- re|
|000025c0| 61 64 20 70 72 65 66 65 | 72 65 6e 63 65 20 64 61 |ad prefe|rence da|
|000025d0| 74 61 20 66 72 6f 6d 20 | 70 72 65 66 20 66 69 6c |ta from |pref fil|
|000025e0| 65 0d 09 73 65 74 20 70 | 72 65 66 4e 61 6d 65 20 |e..set p|refName |
|000025f0| 74 6f 20 28 28 70 61 74 | 68 20 74 6f 20 70 72 65 |to ((pat|h to pre|
|00002600| 66 65 72 65 6e 63 65 73 | 20 66 6f 6c 64 65 72 29 |ferences| folder)|
|00002610| 20 61 73 20 73 74 72 69 | 6e 67 29 20 26 20 22 4e | as stri|ng) & "N|
|00002620| 65 74 43 61 63 68 65 42 | 61 63 6b 20 50 72 65 66 |etCacheB|ack Pref|
|00002630| 73 22 0d 09 73 65 74 20 | 70 72 65 66 46 69 6c 65 |s"..set |prefFile|
|00002640| 20 74 6f 20 6f 70 65 6e | 20 66 6f 72 20 61 63 63 | to open| for acc|
|00002650| 65 73 73 20 28 66 69 6c | 65 20 70 72 65 66 4e 61 |ess (fil|e prefNa|
|00002660| 6d 65 29 0d 09 73 65 74 | 20 70 72 65 66 4c 69 73 |me)..set| prefLis|
|00002670| 74 20 74 6f 20 72 65 61 | 64 20 70 72 65 66 46 69 |t to rea|d prefFi|
|00002680| 6c 65 20 61 73 20 6c 69 | 73 74 20 75 73 69 6e 67 |le as li|st using|
|00002690| 20 64 65 6c 69 6d 69 74 | 65 72 73 20 72 65 74 75 | delimit|ers retu|
|000026a0| 72 6e 0d 09 63 6c 6f 73 | 65 20 61 63 63 65 73 73 |rn..clos|e access|
|000026b0| 20 70 72 65 66 46 69 6c | 65 0d 09 2d 2d 0d 09 2d | prefFil|e..--..-|
|000026c0| 2d 20 73 65 74 20 76 61 | 72 69 61 62 6c 65 20 73 |- set va|riable s|
|000026d0| 74 61 74 75 73 20 64 75 | 65 20 74 6f 20 70 72 65 |tatus du|e to pre|
|000026e0| 66 65 72 65 6e 63 65 20 | 64 61 74 61 0d 09 69 67 |ference |data..ig|
|000026f0| 6e 6f 72 69 6e 67 20 63 | 61 73 65 20 61 6e 64 20 |noring c|ase and |
|00002700| 77 68 69 74 65 20 73 70 | 61 63 65 0d 09 09 72 65 |white sp|ace...re|
|00002710| 70 65 61 74 20 77 69 74 | 68 20 74 68 65 49 74 65 |peat wit|h theIte|
|00002720| 6d 20 69 6e 20 70 72 65 | 66 4c 69 73 74 0d 09 09 |m in pre|fList...|
|00002730| 09 69 66 20 74 68 65 49 | 74 65 6d 20 73 74 61 72 |.if theI|tem star|
|00002740| 74 73 20 77 69 74 68 20 | 22 3b 22 20 74 68 65 6e |ts with |";" then|
|00002750| 0d 09 09 09 09 2d 2d 20 | 74 68 65 20 6c 69 6e 65 |.....-- |the line|
|00002760| 20 62 65 67 69 6e 73 20 | 77 69 74 68 20 22 3b 22 | begins |with ";"|
|00002770| 20 69 73 20 61 20 63 6f | 6d 6d 65 6e 74 0d 09 09 | is a co|mment...|
|00002780| 09 65 6c 73 65 20 69 66 | 20 74 68 65 49 74 65 6d |.else if| theItem|
|00002790| 20 73 74 61 72 74 73 20 | 77 69 74 68 20 22 74 72 | starts |with "tr|
|000027a0| 61 63 65 6c 6f 67 3d 22 | 20 74 68 65 6e 0d 09 09 |acelog="| then...|
|000027b0| 09 09 73 65 74 20 67 54 | 72 61 63 65 4c 6f 67 20 |..set gT|raceLog |
|000027c0| 74 6f 20 28 22 3d 79 65 | 73 22 20 69 73 20 69 6e |to ("=ye|s" is in|
|000027d0| 20 74 68 65 49 74 65 6d | 29 20 61 73 20 62 6f 6f | theItem|) as boo|
|000027e0| 6c 65 61 6e 0d 09 09 09 | 65 6c 73 65 20 69 66 20 |lean....|else if |
|000027f0| 74 68 65 49 74 65 6d 20 | 73 74 61 72 74 73 20 77 |theItem |starts w|
|00002800| 69 74 68 20 22 76 65 72 | 62 6f 73 65 3d 22 20 74 |ith "ver|bose=" t|
|00002810| 68 65 6e 0d 09 09 09 09 | 73 65 74 20 67 56 65 72 |hen.....|set gVer|
|00002820| 62 6f 73 65 20 74 6f 20 | 28 22 3d 79 65 73 22 20 |bose to |("=yes" |
|00002830| 69 73 20 69 6e 20 74 68 | 65 49 74 65 6d 29 20 61 |is in th|eItem) a|
|00002840| 73 20 62 6f 6f 6c 65 61 | 6e 0d 09 09 09 65 6c 73 |s boolea|n....els|
|00002850| 65 20 69 66 20 74 68 65 | 49 74 65 6d 20 73 74 61 |e if the|Item sta|
|00002860| 72 74 73 20 77 69 74 68 | 20 22 6f 76 65 72 72 69 |rts with| "overri|
|00002870| 64 65 3d 22 20 74 68 65 | 6e 0d 09 09 09 09 73 65 |de=" the|n.....se|
|00002880| 74 20 67 4f 76 65 72 72 | 69 64 65 20 74 6f 20 28 |t gOverr|ide to (|
|00002890| 22 3d 79 65 73 22 20 69 | 73 20 69 6e 20 74 68 65 |"=yes" i|s in the|
|000028a0| 49 74 65 6d 29 20 61 73 | 20 62 6f 6f 6c 65 61 6e |Item) as| boolean|
|000028b0| 0d 09 09 09 65 6c 73 65 | 20 69 66 20 74 68 65 49 |....else| if theI|
|000028c0| 74 65 6d 20 73 74 61 72 | 74 73 20 77 69 74 68 20 |tem star|ts with |
|000028d0| 22 66 6f 72 6d 3d 22 20 | 74 68 65 6e 0d 09 09 09 |"form=" |then....|
|000028e0| 09 74 65 6c 6c 20 6d 65 | 20 74 6f 20 67 65 74 46 |.tell me| to getF|
|000028f0| 6f 72 6d 50 61 69 72 20 | 66 72 6f 6d 20 74 68 65 |ormPair |from the|
|00002900| 49 74 65 6d 0d 09 09 09 | 09 63 6f 70 79 20 28 67 |Item....|.copy (g|
|00002910| 46 6f 72 6d 4c 69 73 74 | 20 26 20 74 68 65 20 72 |FormList| & the r|
|00002920| 65 73 75 6c 74 29 20 61 | 73 20 6c 69 73 74 20 74 |esult) a|s list t|
|00002930| 6f 20 67 46 6f 72 6d 4c | 69 73 74 0d 09 09 09 65 |o gFormL|ist....e|
|00002940| 6e 64 20 69 66 0d 09 09 | 65 6e 64 20 72 65 70 65 |nd if...|end repe|
|00002950| 61 74 0d 09 65 6e 64 20 | 69 67 6e 6f 72 69 6e 67 |at..end |ignoring|
|00002960| 0d 65 6e 64 20 67 65 74 | 50 72 65 66 65 72 65 6e |.end get|Preferen|
|00002970| 63 65 73 0d 0d 0d 2d 2d | 20 4e 65 74 43 61 63 68 |ces...--| NetCach|
|00002980| 65 42 61 63 6b 20 30 2e | 39 64 36 0d 74 6f 20 67 |eBack 0.|9d6.to g|
|00002990| 65 74 46 6f 72 6d 50 61 | 69 72 20 66 72 6f 6d 20 |etFormPa|ir from |
|000029a0| 74 68 65 53 74 72 69 6e | 67 0d 09 6c 6f 63 61 6c |theStrin|g..local|
|000029b0| 20 74 68 65 50 61 69 72 | 2c 20 74 68 65 50 61 69 | thePair|, thePai|
|000029c0| 72 4c 69 73 74 2c 20 6f | 6c 64 44 65 6c 69 6d 69 |rList, o|ldDelimi|
|000029d0| 74 65 72 73 0d 09 2d 2d | 0d 09 63 6f 70 79 20 74 |ters..--|..copy t|
|000029e0| 68 65 20 74 65 78 74 20 | 69 74 65 6d 20 64 65 6c |he text |item del|
|000029f0| 69 6d 69 74 65 72 73 20 | 74 6f 20 6f 6c 64 44 65 |imiters |to oldDe|
|00002a00| 6c 69 6d 69 74 65 72 73 | 0d 09 2d 2d 0d 09 74 65 |limiters|..--..te|
|00002a10| 6c 6c 20 6d 65 20 74 6f | 20 73 65 74 20 74 68 65 |ll me to| set the|
|00002a20| 20 74 65 78 74 20 69 74 | 65 6d 20 64 65 6c 69 6d | text it|em delim|
|00002a30| 69 74 65 72 73 20 74 6f | 20 7b 22 22 7d 0d 09 63 |iters to| {""}..c|
|00002a40| 6f 70 79 20 63 68 61 72 | 61 63 74 65 72 73 20 28 |opy char|acters (|
|00002a50| 28 6f 66 66 73 65 74 20 | 6f 66 20 22 3d 22 20 69 |(offset |of "=" i|
|00002a60| 6e 20 74 68 65 53 74 72 | 69 6e 67 29 20 2b 20 31 |n theStr|ing) + 1|
|00002a70| 29 20 74 68 72 75 20 28 | 63 6f 75 6e 74 20 6f 66 |) thru (|count of|
|00002a80| 20 74 68 65 53 74 72 69 | 6e 67 29 20 69 6e 20 74 | theStri|ng) in t|
|00002a90| 68 65 53 74 72 69 6e 67 | 20 61 73 20 73 74 72 69 |heString| as stri|
|00002aa0| 6e 67 20 c2 0d 09 09 74 | 6f 20 74 68 65 50 61 69 |ng ....t|o thePai|
|00002ab0| 72 0d 09 69 66 20 74 68 | 65 50 61 69 72 20 65 6e |r..if th|ePair en|
|00002ac0| 64 73 20 77 69 74 68 20 | 22 5c 22 22 20 74 68 65 |ds with |"\"" the|
|00002ad0| 6e 0d 09 09 63 6f 70 79 | 20 63 68 61 72 61 63 74 |n...copy| charact|
|00002ae0| 65 72 73 20 28 28 6f 66 | 66 73 65 74 20 6f 66 20 |ers ((of|fset of |
|00002af0| 22 5c 22 22 20 69 6e 20 | 74 68 65 50 61 69 72 29 |"\"" in |thePair)|
|00002b00| 20 2b 20 31 29 20 74 68 | 72 75 20 28 28 63 6f 75 | + 1) th|ru ((cou|
|00002b10| 6e 74 20 6f 66 20 74 68 | 65 50 61 69 72 29 20 2d |nt of th|ePair) -|
|00002b20| 20 31 29 20 69 6e 20 74 | 68 65 50 61 69 72 20 61 | 1) in t|hePair a|
|00002b30| 73 20 73 74 72 69 6e 67 | 20 c2 0d 09 09 09 74 6f |s string| .....to|
|00002b40| 20 74 68 65 50 61 69 72 | 0d 09 65 6e 64 20 69 66 | thePair|..end if|
|00002b50| 0d 09 2d 2d 0d 09 74 65 | 6c 6c 20 6d 65 20 74 6f |..--..te|ll me to|
|00002b60| 20 73 65 74 20 74 68 65 | 20 74 65 78 74 20 69 74 | set the| text it|
|00002b70| 65 6d 20 64 65 6c 69 6d | 69 74 65 72 73 20 74 6f |em delim|iters to|
|00002b80| 20 7b 74 61 62 7d 0d 09 | 63 6f 70 79 20 65 76 65 | {tab}..|copy eve|
|00002b90| 72 79 20 74 65 78 74 20 | 69 74 65 6d 20 69 6e 20 |ry text |item in |
|00002ba0| 74 68 65 50 61 69 72 20 | 74 6f 20 74 68 65 50 61 |thePair |to thePa|
|00002bb0| 69 72 4c 69 73 74 0d 09 | 2d 2d 0d 09 63 6f 70 79 |irList..|--..copy|
|00002bc0| 20 6f 6c 64 44 65 6c 69 | 6d 69 74 65 72 73 20 74 | oldDeli|miters t|
|00002bd0| 6f 20 74 68 65 20 74 65 | 78 74 20 69 74 65 6d 20 |o the te|xt item |
|00002be0| 64 65 6c 69 6d 69 74 65 | 72 73 0d 09 2d 2d 0d 09 |delimite|rs..--..|
|00002bf0| 72 65 74 75 72 6e 20 7b | 74 68 65 50 61 69 72 4c |return {|thePairL|
|00002c00| 69 73 74 7d 20 61 73 20 | 6c 69 73 74 0d 65 6e 64 |ist} as |list.end|
|00002c10| 20 67 65 74 46 6f 72 6d | 50 61 69 72 0d 0d 0d 2d | getForm|Pair...-|
|00002c20| 2d 20 4e 65 74 43 61 63 | 68 65 42 61 63 6b 20 30 |- NetCac|heBack 0|
|00002c30| 2e 39 64 36 0d 6f 6e 20 | 74 72 61 63 65 4c 6f 67 |.9d6.on |traceLog|
|00002c40| 20 66 6f 72 20 65 72 72 | 4d 65 73 73 61 67 65 0d | for err|Message.|
|00002c50| 09 67 6c 6f 62 61 6c 20 | 67 54 72 61 63 65 4c 6f |.global |gTraceLo|
|00002c60| 67 2c 20 67 54 72 61 63 | 69 6e 67 4e 6f 77 2c 20 |g, gTrac|ingNow, |
|00002c70| 67 54 72 61 63 65 4c 6f | 67 46 69 6c 65 0d 09 6c |gTraceLo|gFile..l|
|00002c80| 6f 63 61 6c 20 72 65 66 | 46 69 6c 65 0d 09 2d 2d |ocal ref|File..--|
|00002c90| 0d 09 69 66 20 6e 6f 74 | 20 67 54 72 61 63 65 4c |..if not| gTraceL|
|00002ca0| 6f 67 20 74 68 65 6e 20 | 72 65 74 75 72 6e 0d 09 |og then |return..|
|00002cb0| 73 65 74 20 67 54 72 61 | 63 69 6e 67 4e 6f 77 20 |set gTra|cingNow |
|00002cc0| 74 6f 20 28 67 54 72 61 | 63 69 6e 67 4e 6f 77 20 |to (gTra|cingNow |
|00002cd0| 2b 20 31 29 0d 09 2d 2d | 0d 09 74 72 79 0d 09 09 |+ 1)..--|..try...|
|00002ce0| 73 65 74 20 72 65 66 46 | 69 6c 65 20 74 6f 20 28 |set refF|ile to (|
|00002cf0| 6f 70 65 6e 20 66 6f 72 | 20 61 63 63 65 73 73 20 |open for| access |
|00002d00| 66 69 6c 65 20 67 54 72 | 61 63 65 4c 6f 67 46 69 |file gTr|aceLogFi|
|00002d10| 6c 65 20 77 69 74 68 20 | 77 72 69 74 65 20 70 65 |le with |write pe|
|00002d20| 72 6d 69 73 73 69 6f 6e | 29 0d 09 09 69 66 20 67 |rmission|)...if g|
|00002d30| 54 72 61 63 69 6e 67 4e | 6f 77 20 69 73 20 65 71 |TracingN|ow is eq|
|00002d40| 75 61 6c 20 74 6f 20 31 | 20 74 68 65 6e 0d 09 09 |ual to 1| then...|
|00002d50| 09 73 65 74 20 65 6f 66 | 20 72 65 66 46 69 6c 65 |.set eof| refFile|
|00002d60| 20 74 6f 20 30 0d 09 09 | 09 77 72 69 74 65 20 22 | to 0...|.write "|
|00002d70| 23 23 23 20 4e 65 74 43 | 61 63 68 65 42 61 63 6b |### NetC|acheBack|
|00002d80| 20 4c 6f 67 20 6f 6e 20 | 22 20 26 20 28 63 75 72 | Log on |" & (cur|
|00002d90| 72 65 6e 74 20 64 61 74 | 65 29 20 26 20 72 65 74 |rent dat|e) & ret|
|00002da0| 75 72 6e 20 74 6f 20 72 | 65 66 46 69 6c 65 0d 09 |urn to r|efFile..|
|00002db0| 09 65 6e 64 20 69 66 0d | 09 09 77 72 69 74 65 20 |.end if.|..write |
|00002dc0| 22 5b 22 20 26 20 28 67 | 54 72 61 63 69 6e 67 4e |"[" & (g|TracingN|
|00002dd0| 6f 77 20 61 73 20 73 74 | 72 69 6e 67 29 20 26 20 |ow as st|ring) & |
|00002de0| 22 5d 20 22 20 26 20 65 | 72 72 4d 65 73 73 61 67 |"] " & e|rrMessag|
|00002df0| 65 20 26 20 72 65 74 75 | 72 6e 20 c2 0d 09 09 74 |e & retu|rn ....t|
|00002e00| 6f 20 72 65 66 46 69 6c | 65 20 73 74 61 72 74 69 |o refFil|e starti|
|00002e10| 6e 67 20 61 74 20 65 6f | 66 0d 09 09 63 6c 6f 73 |ng at eo|f...clos|
|00002e20| 65 20 61 63 63 65 73 73 | 20 72 65 66 46 69 6c 65 |e access| refFile|
|00002e30| 0d 09 09 2d 2d 0d 09 6f | 6e 20 65 72 72 6f 72 0d |...--..o|n error.|
|00002e40| 09 09 2d 2d 20 64 6f 20 | 6e 6f 74 68 69 6e 67 0d |..-- do |nothing.|
|00002e50| 09 65 6e 64 20 74 72 79 | 0d 65 6e 64 20 74 72 61 |.end try|.end tra|
|00002e60| 63 65 4c 6f 67 0d 0d 0d | 6f 6e 20 65 72 72 6f 72 |ceLog...|on error|
|00002e70| 4d 65 73 73 61 67 65 20 | 66 6f 72 20 65 72 72 4d |Message |for errM|
|00002e80| 65 73 73 61 67 65 0d 09 | 65 72 72 6f 72 20 65 72 |essage..|error er|
|00002e90| 72 4d 65 73 73 61 67 65 | 0d 65 6e 64 20 65 72 72 |rMessage|.end err|
|00002ea0| 6f 72 4d 65 73 73 61 67 | 65 0d 00 00 00 00 00 00 |orMessag|e.......|
|00002eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f00| 00 00 01 00 00 00 02 85 | 00 00 01 85 00 00 00 6e |........|.......n|
|00002f10| 65 6e 20 72 65 74 75 72 | 6e 0d 09 73 65 74 20 67 |en retur|n..set g|
|00002f20| 54 72 61 63 69 6e 67 4e | 6f 77 20 74 6f 20 28 67 |TracingN|ow to (g|
|00002f30| 13 4e 65 74 43 61 63 68 | 65 42 61 63 6b 20 73 6f |.NetCach|eBack so|
|00002f40| 75 72 63 65 02 00 00 00 | 54 45 58 54 54 6f 79 53 |urce....|TEXTToyS|
|00002f50| 00 00 54 45 58 54 54 6f | 79 53 01 00 00 34 00 40 |..TEXTTo|yS...4.@|
|00002f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f70| 00 00 ad be 7b 92 00 00 | 2e 2a 00 00 02 f3 77 69 |....{...|.*....wi|
|00002f80| 74 68 20 77 72 69 74 65 | 20 70 65 72 6d 69 73 73 |th write| permiss|
|00002f90| 69 6f 6e 29 0d 09 09 69 | 66 20 67 54 72 61 63 69 |ion)...i|f gTraci|
|00002fa0| 6e 67 4e 6f 77 20 69 73 | 20 65 71 75 61 6c 20 74 |ngNow is| equal t|
|00002fb0| 6f 20 31 20 74 68 65 6e | 0d 09 09 09 73 65 74 20 |o 1 then|....set |
|00002fc0| 65 6f 66 20 72 65 66 46 | 69 6c 65 20 74 6f 20 30 |eof refF|ile to 0|
|00002fd0| 0d 09 09 09 77 72 69 74 | 65 20 22 23 23 23 20 4e |....writ|e "### N|
|00002fe0| 65 74 43 61 63 68 65 42 | 61 63 6b 20 4c 6f 67 20 |etCacheB|ack Log |
|00002ff0| 6f 6e 20 22 20 26 20 28 | 63 75 72 72 65 6e 74 20 |on " & (|current |
|00003000| 00 00 00 2e 00 90 20 06 | 00 0e 05 30 2e 39 64 36 |...... .|...0.9d6|
|00003010| 21 76 30 2e 39 64 36 2c | 20 a9 31 39 39 35 2d 39 |!v0.9d6,| .1995-9|
|00003020| 36 20 4d 69 7a 75 74 6f | 72 69 20 54 65 74 73 75 |6 Mizuto|ri Tetsu|
|00003030| 79 61 00 00 00 cd 4e 65 | 74 73 63 61 70 65 aa 20 |ya....Ne|tscape. |
|00003040| 43 61 63 68 65 20 42 61 | 63 6b 20 30 2e 39 64 36 |Cache Ba|ck 0.9d6|
|00003050| 0d 43 6f 70 79 72 69 67 | 68 74 20 a9 20 31 39 39 |.Copyrig|ht . 199|
|00003060| 35 2d 39 36 20 4d 69 7a | 75 74 6f 72 69 20 54 65 |5-96 Miz|utori Te|
|00003070| 74 73 75 79 61 2c 20 4d | 61 79 20 31 32 2c 20 31 |tsuya, M|ay 12, 1|
|00003080| 39 39 36 0d 55 73 61 67 | 65 3a 20 44 72 61 67 20 |996.Usag|e: Drag |
|00003090| 26 20 64 72 6f 70 20 22 | 63 61 63 68 65 58 58 58 |& drop "|cacheXXX|
|000030a0| 58 22 20 66 69 6c 65 73 | 20 74 6f 20 4e 65 74 73 |X" files| to Nets|
|000030b0| 63 61 70 65 aa 20 43 61 | 63 68 65 20 42 61 63 6b |cape. Ca|che Back|
|000030c0| 20 69 63 6f 6e 0d 50 6c | 65 61 73 65 20 63 6f 6e | icon.Pl|ease con|
|000030d0| 74 61 63 74 20 6d 65 20 | 76 69 61 20 65 2d 6d 61 |tact me |via e-ma|
|000030e0| 69 6c 3a 20 6d 69 7a 75 | 74 6f 72 69 40 61 69 2e |il: mizu|tori@ai.|
|000030f0| 72 63 61 73 74 2e 75 2d | 74 6f 6b 79 6f 2e 61 63 |rcast.u-|tokyo.ac|
|00003100| 2e 6a 70 00 00 00 66 00 | 05 00 00 00 00 00 0d 00 |.jp...f.|........|
|00003110| 0a 00 03 00 00 00 0a 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003120| 41 00 0d 00 0a 00 03 02 | 00 00 0a 00 00 00 00 00 |A.......|........|
|00003130| 00 00 00 00 4d 00 0d 00 | 0a 00 03 00 00 00 0a 00 |....M...|........|
|00003140| 00 00 00 00 00 00 00 00 | 4e 00 0d 00 0a 00 03 04 |........|N.......|
|00003150| 00 00 0a 00 00 00 00 00 | 00 00 00 00 53 00 0d 00 |........|....S...|
|00003160| 0a 00 03 00 00 00 0a 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003170| 14 00 29 00 06 01 dc 01 | ea 00 28 00 02 01 dd 02 |..).....|..(.....|
|00003180| 5d 00 00 00 00 00 00 01 | 00 00 00 02 85 00 00 01 |].......|........|
|00003190| 85 00 00 00 6e 00 dc 17 | cc 2c ce 00 00 00 1c 00 |....n...|.,......|
|000031a0| 6e 00 03 76 65 72 73 00 | 00 00 22 54 45 58 54 00 |n..vers.|.."TEXT.|
|000031b0| 00 00 2e 73 74 79 6c 00 | 00 00 3a 57 50 6f 73 00 |...styl.|..:WPos.|
|000031c0| 00 00 46 00 01 ff ff 20 | 00 00 00 00 dc 17 c8 04 |..F.... |........|
|000031d0| 68 ff ff 00 00 00 32 00 | dc 17 b4 04 68 ff ff 00 |h.....2.|....h...|
|000031e0| 00 01 03 00 dc 17 bc 00 | 80 ff ff 00 00 01 6d 00 |........|......m.|
|000031f0| dc 17 c0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+